わかる範囲で適当に。
PS C:\> $PSVersionTable | sort Name
Name Value
---- -----
PSVersion 5.1.16299.15
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.15
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Add-AppxPackage
にAppInstallerFile
、RelatedPackages
パラメーターが増えている。
New-CIPolicy
にAllowFileNameFallbacks
、SpecificFileNameLevel
パラメーターが増えている。
New-CIPolicyRule
にAllowFileNameFallbacks
、SpecificFileNameLevel
パラメーターが増えている。
Add-MpPreference
にAttackSurfaceReductionOnlyExclusions
、ControlledFolderAccessAllowedApplications
、ControlledFolderAccessProtectedFolders
AttackSurfaceReductionRules_Ids
、AttackSurfaceReductionRules_Actions
パラメーターが増えている。
Set-MpPreference
に9つのパラメーターが増えている。
Import-PfxCertificate
にProtectPrivateKey
パラメーターが増えている。
ProcessMitigationsモジュールが増えている。
使えるコマンドレットは以下。
PS C:\> Get-Command -Module ProcessMitigations
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet ConvertTo-ProcessMitigationPolicy 1.0.11 ProcessMitigations
Cmdlet Get-ProcessMitigation 1.0.11 ProcessMitigations
Cmdlet Set-ProcessMitigation 1.0.11 ProcessMitigations
Get-SmbGlobalMapping
、New-SmbGlobalMapping
、Remove-SmbGlobalMapping
が追加されている。
SMB Global Mapping関連の機能で、元はWindows Server version 1709向けの実装っぽい。
New-SmbShare
、Get-SmbShare
、Set-SmbShare
にLeasingMode
パラメーターが増えている。
New-SmbMapping
にRequireIntegrity
、RequirePrivacy
パラメーターが増えている。
Add-StorageFaultDomain
、Remove-StorageFaultDomain
、Disable-StorageEnclosurePower
、Enable-StorageEnclosurePower
、Get-StorageExtendedStatus
、Remove-StorageHealthIntent
が追加されている。
Clear-Disk
にSanitize
パラメーターが増えている。
Get-StorageFirmwareInformation
、Update-StorageFirmware
にStorageEnclosureUniqueId
、StorageEnclosureFriendlyName
、StorageEnclosure
パラメーターが増えている。
New-StorageTier
、New-VirtualDisk
、New-Volume
にStorageFaultDomainsToUse
パラメーターが増えている。
Get-WindowsUpdateLog
からSymbolServer
パラメーターが消失している。
WindowsUpdateProvider
モジュールが追加されている。
使えるコマンドレットは以下。
PS C:\> Get-Command -Module WindowsUpdateProvider
CommandType Name Version Source
----------- ---- ------- ------
Function Get-WUAVersion 1.0.0.2 WindowsUpdateProvider
Function Get-WUIsPendingReboot 1.0.0.2 WindowsUpdateProvider
Function Get-WULastInstallationDate 1.0.0.2 WindowsUpdateProvider
Function Get-WULastScanSuccessDate 1.0.0.2 WindowsUpdateProvider
Function Install-WUUpdates 1.0.0.2 WindowsUpdateProvider
Function Start-WUScan 1.0.0.2 WindowsUpdateProvider
詳細情報が見つからないが、Windows Updateを自動化するための機能っぽい。
実装を調べたところ、root/Microsoft/Windows/WindowsUpdate
名前空間の
- MSFT_WUUpdate
- MSFT_WUSettings
- MSFT_WUOperations (MSFT_WUOperationsSessionの後継?)
クラスをラップしたものだった。
以下の様にすることでWindwos Updateを自動適用できそう。
# Windows Updateのスキャン
$updates = Start-WUScan
# スキャン結果を適用
Install-WUUpdates -Updates $updates
2017/10/25現在、出来なくされれていた。
今後また復活するかはよくわからない。