Cmdlet Reference
Cmdlet Reference
The Package Deployment module contains script cmdlets that are the basis for the scripts created with the product name. The following cmdlets are included in the current version of the Script module:
- Add-DeleteAtEndOfScript
- Add-EnvironmentPath
- Add-LocalGroupMember
- Add-LocalUserMembership
- Add-OemEnvironmentPath
- Add-PrinterConnection
- Clear-DeleteAtEndOfScript
- Close-ADTInstallationProgress
- Connect-SmbShare
- Copy-File
- Copy-RegistryKey
- Dismount-Registry
- Edit-OemLine
- Edit-OemText
- Enable-WindowsFeature
- Exit-Package
- Exit-Script
- Get-ADTInstalledApplicationProperty
- Get-DriveFreeKB
- Get-FileDate
- Get-FileVersion
- Get-InstalledAppsRegistry
- Get-PdContext
- Get-ProductVersion
- Get-RegistryValue
- Get-WindowsVersion
- Import-Registry
- Install-Assembly
- Install-File
- Install-FileList
- Install-MsiFeature
- Install-MsiPatch
- Install-MsiProduct
- Install-PnpDevice
- Install-TTF
- Install-Win32Service
- Invoke-DeleteAtEndOfScript
- Invoke-Goto
- Invoke-PowerShellCode
- Invoke-Script
- Invoke-ScriptAs
- Merge-IniFile
- Mount-Registry
- New-Directory
- New-InternetLink
- New-Link
- New-LocalGroup
- New-LocalUser
- New-Share
- New-ShellFolder
- Read-ADTInstalledApplication
- Read-FileVersion
- Read-IndexedWmiObject
- Read-IniFileValue
- Read-LeftString
- Read-MidString
- Read-RegistryValue
- Read-ReplacePattern
- Read-ReplaceString
- Read-RightString
- Read-StringElement
- Read-SystemDefaultLanguage
- Read-UserDefaultLanguage
- Read-WmiObject
- Read-WmiObjectCount
- Read-XmlNode
- Register-SystemRestart
- Register-SystemShutdown
- Remove-ActiveSetupRegistry
- Remove-Directory
- Remove-File
- Remove-FileList
- Remove-InstalledAppsRegistry
- Remove-Link
- Remove-LocalGroup
- Remove-LocalGroupMember
- Remove-LocalUser
- Remove-PrinterConnection
- Remove-RegistryKey
- Remove-Share
- Remove-ShellFolder
- Rename-LocalUser
- Repair-MsiProduct
- Request-EndInstallerSession
- Resolve-Error
- Save-Registry
- Search-RegistryKey
- Send-SmtpMail
- Set-ApplicationCompatibilityFlags
- Set-BeginUninstallScript
- Set-FileAttribute
- Set-FileReplaceText
- Set-Label
- Set-LocalUserFlags
- Set-LocalUserPassword
- Set-LocalUserProfile
- Set-NtfsSecurity
- Set-PdVar
- Set-PdVarDecrement
- Set-PdVarIncrement
- Set-RegistrySecurity
- Set-XmlNode
- Show-ADTBalloonTip
- Show-ADTInstallationProgress
- Show-ADTInstallationPrompt
- Show-ADTInstallationRestartPrompt
- Show-ADTInstallationWelcome
- Show-DialogBox
- Show-MultipleChoiceDialog
- Show-PdMessageBox
- Show-PdToastMessage
- Start-Program
- Start-ProgramAs
- Start-SystemShutdown
- Start-Win32Service
- Stop-PdProcess
- Stop-SystemShutdown
- Stop-Win32Service
- Suspend-PdBitlocker
- Suspend-ScriptExecution
- Test-ComputerLocked
- Test-ComputerName
- Test-FileExists
- Test-FileInUse
- Test-InstallMode
- Test-InternetAccess
- Test-PackageInstalled
- Test-PackageRevisionInstalled
- Test-PendingReboot
- Test-Platform
- Test-ProcessRunning
- Test-RegistryKey
- Test-RegistryValue
- Test-RemoteLoginDisabled
- Test-RunningAsService
- Test-RunningOnServerOS
- Test-RunningOnX64
- Test-Service
- Test-SystemRestart
- Test-UserLoggedOn
- Test-VirtualMachine
- Test-WindowsFeature
- Test-XmlNode
- Uninstall-GacAssembly
- Uninstall-MsiProduct
- Uninstall-TTF
- Uninstall-Win32Service
- Unregister-SystemRestart
- Write-ActiveSetupRegistry
- Write-IniFileValue
- Write-InstalledAppsRegistry
- Write-Log
- Write-RegistryDWord
- Write-RegistryKey
- Write-RegistryMultiString
- Write-RegistryQWord
- Write-RegistryValue