New Modules, Cmdlets, & Parameters in PowerShell Version 5

Think keeping up with the changes between major versions of PowerShell is difficult? Well just try keeping up with the changes that are added and removed in preview versions.

The following is a list of the new modules, cmdlets, and parameters that have been added so far in PowerShell version 5 grouped by the different preview releases.


Windows Technical Preview Enterprise Edition (Windows 10)

win10pv-build9879

PowerShell Version 5 Build 9879

psversiontable-build9879

New cmdlets and the module they were added to:

PnpDevice

  • Disable-PnpDevice
  • Enable-PnpDevice
  • Get-PnpDevice
  • Get-PnpDeviceProperty

PSDesiredStateConfiguration

  • Find-DscResource

Microsoft.PowerShell.Core

  • Get-SerializedCommand

Storage

  • Get-StorageEnclosureSNV
  • Get-StorageEnclosureStorageNodeView

PcsvDevice

  • Set-PcsvDeviceUserPassword

Parameters added to existing cmdlets:

Connect-DscConfiguration

  • InstanceId

Enter-PSHostProcess

  • AppDomainName

Find-Module

  • AllVersions
  • Command
  • DscResource
  • Filter
  • Includes
  • Tag

Find-Package

  • Command
  • DscResource
  • Filter
  • Includes

Install-Module

  • InputObject

Install-Package

  • AllVersions
  • Command
  • DscResource
  • Filter
  • Includes

New-AppLockerPolicy

  • ServiceEnforcement

Save-Package

  • AllVersions
  • Command
  • DscResource
  • Filter
  • Includes

Parameters removed from existing cmdlets:

Connect-DscConfiguration

  • JobId

Install-Module

  • PSGetItemInfo

Start-DscConfiguration

  • AsDisconnected

Windows Technical Preview Enterprise Edition (Windows 10)

win10pv-build9860

PowerShell Version 5 Build 9860

psversiontable-build9860

New cmdlets and the existing module they were added to:

PSDesiredStateConfiguration

  • Connect-DscConfiguration

PcsvDevice

  • Set-PcsvDeviceNetworkConfiguration

Parameters added to existing cmdlets:

Compress-Archive

  • Force

Export-ODataEndpointProxy

  • AllowClobber
  • AllowUnsecureConnection
  • CmdletAdapter
  • Confirm
  • CreateRequestMethod
  • CustomData
  • Force
  • OutputModule
  • UpdateRequestMethod
  • WhatIf

Find-Package

  • AllowPrereleaseVersions
  • ConfigFile
  • Contains
  • SkipValidate
  • Tag

Get-Package

  • ContinueOnFailure
  • Destination
  • ExcludeVersion
  • PackageSaveMode
  • SkipDependencies

Get-PackageSource

  • ConfigFile
  • SkipValidate

Get-Volume

  • StorageFileServer
  • UniqueId

Install-Package

  • AllowPrereleaseVersions
  • ConfigFile
  • Contains
  • ContinueOnFailure
  • Destination
  • ExcludeVersion
  • PackageSaveMode
  • SkipDependencies
  • SkipValidate
  • Tag

Save-Package

  • AllowPrereleaseVersions
  • ConfigFile
  • Contains
  • SkipValidate
  • Tag

Set-MpPreference

  • SubmitSamplesConsent

Set-PackageSource

  • ConfigFile
  • SkipValidate

Start-DscConfiguration

  • AsDisconnected

Uninstall-Package

  • ContinueOnFailure
  • Destination
  • ExcludeVersion
  • PackageSaveMode
  • SkipDependencies

Unregister-PackageSource

  • ConfigFile
  • SkipValidate

Parameters removed from existing cmdlets:

Export-ODataEndpointProxy

  • OutputPath

Windows Technical Preview Enterprise Edition (Windows 10)

win10pv-version

PowerShell Version 5 Build 9841

build9841

New cmdlets and the existing module they were added to:

Appx

  • Add-AppxVolume
  • Get-AppxVolume
  • Mount-AppxVolume
  • Move-AppxPackage
  • Remove-AppxVolume
  • Dismount-AppxVolume
  • Get-AppxDefaultVolume
  • Set-AppxDefaultVolume

Storage

  • Get-FileShare
  • New-FileShare
  • Block-FileShareAccess
  • Grant-FileShareAccess
  • Get-FileShareAccessControlEntry
  • Disable-PhysicalDiskIdentification
  • Enable-PhysicalDiskIdentification
  • Disable-StorageDiagnosticLog
  • Enable-StorageDiagnosticLog
  • Get-DiskSNV (alias)
  • Get-DiskStorageNodeView
  • Get-PhysicalDiskSNV (alias)
  • Get-PhysicalDiskStorageNodeView
  • Remove-FileShare
  • Set-FileShare
  • Revoke-FileShareAccess
  • Unblock-FileShareAccess
  • Get-StorageFileServer
  • New-StorageFileServer
  • Remove-StorageFileServer
  • Set-StorageFileServer
  • Get-StorageOperationalLog

Parameters added to existing cmdlets:

Add-AppxPackage

  • Volume

Get-AppxPackage

  • Volume

Export-StartLayout

  • For

Import-StartLayout

  • For

Get-Disk

  • SerialNumber
  • StorageNode
  • StorageSubSystem

Get-NetIPConfiguration

  • AllCompartments
  • CompartmentId

Get-NetIPv4Protocol

  • MinimumMtu

Set-NetIPv4Protocol

  • MinimumMtu

Get-NetTCPSetting

  • AutoReusePortRangeNumberOfPorts
  • AutoReusePortRangeStartPort

Set-NetTCPSetting

  • AutoReusePortRangeNumberOfPorts
  • AutoReusePortRangeStartPort

Get-Partition

  • StorageSubSystem

Set-Partition

  • GptType
  • MbrType

Get-PhysicalDisk

  • ObjectId
  • SerialNumber

Get-StorageEnclosure

  • SerialNumber

Get-StorageNode

  • Disk
  • ObjectId
  • Volume

Get-StoragePool

  • Volume

Get-StorageSubSystem

  • Disk
  • Partition
  • Volume

Get-Volume

  • StorageNode
  • StoragePool
  • StorageSubSystem

Optimize-Volume

  • NormalPriority

Set-PcsvDeviceBootConfiguration

  • PersistentBootSource

Stop-PcsvDevice

  • ShutdownType

Windows 8.1 Enterprise Edition

win81-version

Windows Management Framework 5.0 Preview September 2014:

build9814

New cmdlets and the existing module they were added to:

Microsoft.PowerShell.Core

  • Enter-PSHostProcess
  • Exit-PSHostProcess

Microsoft.PowerShell.Utility

  • ConvertFrom-String
  • Wait-Debugger

OneGet

  • Get-PackageProvider
  • Register-PackageSource
  • Unregister-PackageSource
  • Set-PackageSource
  • Save-Package

PowerShellGet

  • Get-PSRepository
  • Set-PSRepository
  • Register-PSRepository
  • Unregister-PSRepository

Parameters added to existing cmdlets:

Export-ODataEndpointProxy

  • ResourceNameMapping

Find-Module

  • Repository

Find-Package

  • AllVersions
  • Credential
  • Force
  • ForceBootstrap
  • IncludeDependencies
  • MessageResolver
  • OneGetProvider
  • ProviderName
  • PublishLocation
  • Scope

Get-CmsMessage

  • LiteralPath
  • Path

Get-Package

  • Force
  • ForceBootstrap
  • InstallationPolicy
  • InstallUpdate
  • Location
  • MaximumVersion
  • MessageResolver
  • MinimumVersion
  • OneGetProvider
  • ProviderName
  • RequiredVersion

Get-PackageSource

  • Force
  • ForceBootstrap
  • MessageResolver
  • OneGetProvider
  • ProviderName
  • PublishLocation
  • Scope

Install-Module

  • Repository

Install-Package

  • Credential
  • ForceBootstrap
  • InputObject
  • InstallationPolicy
  • InstallUpdate
  • Location
  • MessageResolver
  • OneGetProvider
  • ProviderName
  • PublishLocation
  • Scope

Protect-CmsMessage

  • LiteralPath
  • OutFile
  • Path

Publish-Module

  • Repository

Save-Help

  • FullyQualifiedModule

Start-Transcript

  • IncludeInvocationHeader
  • OutputDirectory

Uninstall-Package

  • ForceBootstrap
  • InstallationPolicy
  • InstallUpdate
  • Location
  • MaximumVersion
  • MessageResolver
  • MinimumVersion
  • OneGetProvider
  • ProviderName
  • RequiredVersion

Unprotect-CmsMessage

  • EventLogRecord
  • IncludeContext
  • LiteralPath
  • Path
  • To

Update-Help

  • FullyQualifiedModule

Removed cmdlets:

  • Add-PackageSource
  • Remove-PackageSource
  • Get-ModuleSource
  • Register-ModuleSource
  • Unregister-ModuleSource

Parameters removed from existing cmdlets:

Find-Module

  • Source

Find-Package

  • Metadata
  • Provider

Get-Package

  • Metadata
  • Provider

Get-PackageSource

  • Provider

Install-Module

  • Source

Install-Package

  • InstallationOptions
  • Metadata
  • Package
  • Provider

Publish-Module

  • Destination

Uninstall-Package

  • InstallOptions
  • Metadata
  • Provider

Windows Management Framework 5.0 Experimental Release July 2014:

build9789

New modules and their cmdlets:

Microsoft.PowerShell.Archive

  • Compress-Archive
  • Expand-Archive

Microsoft.PowerShell.ODataUtils

  • Export-ODataEndpointProxy

Other new cmdlets and the existing module they were added to:

PSDesiredStateConfiguration

  • Get-DscConfigurationStatus
  • Compare-DscConfiguration
  • Publish-DscConfiguration
  • Update-DscConfiguration

Microsoft.PowerShell.Utility

  • Debug-Runspace
  • Get-Runspace
  • Disable-RunspaceDebug
  • Enable-RunspaceDebug
  • Get-RunspaceDebug

Microsoft.PowerShell.Security

  • Get-CmsMessage
  • Protect-CmsMessage
  • Unprotect-CmsMessage

PowerShellGet

  • Get-ModuleSource
  • Register-ModuleSource
  • Unregister-ModuleSource

Parameters added to existing cmdlets:

Find-Module

  • Source

Install-Module

  • Source

Publish-Module

  • Destination
  • Tags

Import-Module

  • FullyQualifiedName

Remove-Module

  • FullyQualifiedName

Get-Command

  • FullyQualifiedModule

Import-PSSession

  • FullyQualifiedModule

Export-PSSession

  • FullyQualifiedModule

New-ModuleManifest

  • IconUri
  • LicenseUri
  • ProjectUri
  • ReleaseNotes
  • Tags

New-PSSessionOption

  • MaxConnectionRetryCount

Out-Default

  • Transcript

Restart-Computer

  • Soft

Removed cmdlets:

  • Get-StreamHash

Parameters removed from existing cmdlets:

Find-Package

  • AllowPrereleaseVersions
  • AllVersions
  • Hint
  • LeavePartialPackageInstalled
  • LocalOnly

Install-Package

  • AllowPrereleaseVersions
  • AllVersions
  • ForceX86
  • Hint
  • IgnoreDependencies
  • InstallArguments
  • LeavePartialPackageInstalled
  • LocalOnly
  • OverrideArguments
  • PackageParameters

Publish-Module

  • Tag

Windows Management Framework 5.0 Preview May 2014:

build9740

New modules and their cmdlets:

PowerShellGet

  • Find-Module
  • Install-Module
  • Publish-Module
  • Update-Module

Windows Management Framework 5.0 Preview April 2014:

build9701

New modules and their cmdlets:

NetworkSwitch

  • Disable-NetworkSwitchEthernetPort
  • Disable-NetworkSwitchFeature
  • Disable-NetworkSwitchVlan
  • Enable-NetworkSwitchEthernetPort
  • Enable-NetworkSwitchFeature
  • Enable-NetworkSwitchVlan
  • Get-NetworkSwitchEthernetPort
  • Get-NetworkSwitchFeature
  • Get-NetworkSwitchGlobalData
  • Get-NetworkSwitchVlan
  • New-NetworkSwitchVlan
  • Remove-NetworkSwitchEthernetPortIPAddress
  • Remove-NetworkSwitchVlan
  • Restore-NetworkSwitchConfiguration
  • Save-NetworkSwitchConfiguration
  • Set-NetworkSwitchEthernetPortIPAddress
  • Set-NetworkSwitchPortMode
  • Set-NetworkSwitchPortProperty
  • Set-NetworkSwitchVlanProperty

OneGet

  • Add-PackageSource
  • Find-Package
  • Get-Package
  • Get-PackageSource
  • Install-Package
  • Remove-PackageSource
  • Uninstall-Package

Other new cmdlets and the existing module they were added to:

Microsoft.PowerShell.Core

  • Debug-Job

Microsoft.PowerShell.Management

  • Get-ItemPropertyValue

Microsoft.PowerShell.Utility

  • Get-StreamHash

Parameters added to existing cmdlets:

Get-FileHash

  • InputStream

New-DSCCheckSum

  • Confirm
  • WhatIf

Test-DscConfiguration

  • Detailed

Register-ScheduledJob

  • RunEvery

Set-ScheduledJob

  • RunEvery

Select-Object

  • SkipLast

Stop-Service

  • NoWait

Update-Help

  • Confirm
  • WhatIf

I’ll be demonstrating many of these new features in my “What’s New in PowerShell Version 5” session at  SQL Saturday #342 in Mobile, AL on September 27th.

µ

1 Comment

  1. Kurt De Greeff

    Strange thing happening to me with this 5.0 preview or is it normal behaviour…: when I use find-package from OneGet provider or find-module from PowershellGet provider I got almost the same results..??

    Reply

Leave a Reply

%d bloggers like this: