COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Clears a setting in the computer or user sections of the registry.
Clear-UevAppxPackage [-Computer] [-All] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellClears UE-V configuration settings.
Clear-UevConfiguration [-Computer] [-MaxPackageSizeInBytes] [-SettingsStoragePath]
[-SettingsTemplateCatalogPath] [-SyncProviderPingEnabled] [-SyncTimeoutInMilliseconds] [-SyncMethod]
[-SyncEnabled] [-SyncOverMeteredNetwork] [-SyncOverMeteredNetworkWhenRoaming] [-SettingsImportNotifyEnabled]
[-SettingsImportNotifyDelayInSeconds] [-ContactITUrl] [-ContactITDescription] [-TrayIconEnabled]
[-FirstUseNotificationEnabled] [-DontSyncWindows8AppSettings] [-WaitForSyncTimeoutInMilliseconds]
[-WaitForSyncOnApplicationStart] [-WaitForSyncOnLogon] [-SyncUnlistedWindows8Apps] [-VdiCollectionName]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityClears statistics for a site-to-site (S2S) interface.
Clear-VpnS2SInterfaceStatistics [-Name] <String> [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellRemoves all settings for the central certificate provider.
Clear-WebCentralCertProvider [-PrivateKeyPassword] [<CommonParameters>]Copied 0 timesPowerShellDeletes all of the resources associated with a mounted image that has been corrupted.
Clear-WindowsCorruptMountPoint [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>]
[<CommonParameters>]Copied 0 timesWindows ServerSends a request to delete all uploaded diagnostic data sent to Microsoft from the current device.
Clear-WindowsDiagnosticData [-Force] [<CommonParameters>]Copied 0 timesPowerShellClears station mapping information for all stations.
Clear-WmsStation [-Server <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCloses a file that is open by one of the clients of the SMB server.
Close-SmbOpenFile [[-FileId] <UInt64[]>] [-SessionId <UInt64[]>] [-ClientComputerName <String[]>]
[-ClientUserName <String[]>] [-ScopeName <String[]>] [-ClusterNodeName <String[]>]
[-SmbInstance <SmbInstance>] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityEnds forcibly the SMB session.
Close-SmbSession [[-SessionId] <UInt64[]>] [-ClientComputerName <String[]>] [-ClientUserName <String[]>]
[-ScopeName <String[]>] [-ClusterNodeName <String[]>] [-SmbInstance <SmbInstance>] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellCloses an application.
Close-WmsApp [-SessionId] <UInt32> [-ProcessId] <UInt32> [-WindowId] <UInt64> [-CreateTime] <UInt64>
[-Server <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellLogs the user off of the specified session.
Close-WmsSession [-SessionId] <UInt32[]> [-Server <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellIdentify values present on only one side of two small in-memory lists.
Compare-Object [-ReferenceObject] <PSObject[]> [-DifferenceObject] <PSObject[]>
[-SyncWindow <Int32>] [-Property <Object[]>] [-ExcludeDifferent] [-IncludeEqual]
[-PassThru] [-Culture <String>] [-CaseSensitive] [<CommonParameters>]Copied 0 timesWindows ServerCompares a virtual machine and a virtual machine host for compatibility, returning a compatibility report.
Compare-VM [-ComputerName <String[]>] [-Credential <PSCredential[]>] [-AsJob] [-Name] <String>
[-DestinationHost] <String> [-DestinationCredential <PSCredential>] [-IncludeStorage]
[-DestinationStoragePath <String>] [-ResourcePoolName <String>] [-RetainVhdCopiesOnSource] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryCompletes the migration process and supersedes a normal user account to a delegated managed service account.
Complete-ADServiceAccountMigration [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADServiceAccount> [-SupersededAccount <String>] [-Server <String>]
[<CommonParameters>]Copied 0 timesWindows ServerCompletes a virtual machine's failover process on the Replica server. Removes all recovery points on a failed over virtual machine.
Complete-VMFailover [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String[]> [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryChecks whether the local CA trusts secure hardware for identity key attestation.
Confirm-CAAttestationIdentityKeyInfo [-Certificate] <X509Certificate2> [<CommonParameters>]Copied 0 timesActive DirectoryChecks whether the local CA trusts secure hardware for key attestation.
Confirm-CAEndorsementKeyInfo [-Certificate] <X509Certificate2> [<CommonParameters>]Copied 0 timesPowerShellConfirms that Secure Boot is enabled by checking the Secure Boot status on the local computer.
Confirm-SecureBootUEFI [<CommonParameters>]Copied 0 timesWindows ServerConnects a virtual network adapter to a virtual switch.
Connect-VMNetworkAdapter [[-Name] <String[]>] [-SwitchName] <String> [-Passthru] [-CimSession <CimSession[]>]
[-ComputerName <String[]>] [-Credential <PSCredential[]>] [-VMName] <String[]> [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerAssociates a host bus adapter with a virtual storage area network (SAN).
Connect-VMSan [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-Name] <String> -WorldWideNodeName <String[]> -WorldWidePortName <String[]> [-Passthru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerConnects a disconnected virtual disk to the specified computer when using the Windows Storage subsystem.
Connect-VirtualDisk [-FriendlyName] <String[]> [-StorageNodeName <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]Copied 0 timesNetworking / SecurityConnects a site-to-site (S2S) interface that is currently not connected.
Connect-VpnS2SInterface [-Name] <String> [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerConverts the format, version type, and block size of a virtual hard disk file.
Convert-VHD [-Path] <String> [-DestinationPath] <String> [-VHDType <VhdType>] [-ParentPath <String>]
[-BlockSizeBytes <UInt32>] [-DeleteSource] [-AsJob] [-Passthru] [-CimSession <CimSession[]>]
[-ComputerName <String[]>] [-Credential <PSCredential[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellConverts an .xml file that contains a Code Integrity policy into binary format.
ConvertFrom-CIPolicy [-XmlFilePath] <String> [-BinaryFilePath] <String> [<CommonParameters>]Copied 0 timesRemove-DhcpServerv6OptionDefinition · Networking / Security
Set-DnsServerForwarder · Networking / Security
Set-ClusterQuorum · Windows Server
Get-VMSystemSwitchExtension · Windows Server
Set-NetworkController · Networking / Security
Set-RemoteAccessRadius · Networking / Security