COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Installs a printer port on the specified computer.
Add-PrinterPort [-Name] <String> [-ComputerName <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds an assignable device to a specific virtual machine.
Add-VMAssignableDevice [-CimSession <CimSession[]>] [-ComputerName <String[]>]
[-Credential <PSCredential[]>] [-VMName] <String[]> [-InstancePath <String>]
[-LocationPath <String>] [-VirtualFunction <UInt16>] [-ResourcePoolName <String>] [-Passthru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a DVD drive to a virtual machine.
Add-VMDvdDrive [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String[]> [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>]
[-ResourcePoolName <String>] [-AllowUnverifiedPaths] [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a virtual Fibre Channel host bus adapter to a virtual machine.
Add-VMFibreChannelHba [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String> [-SanName] <String> [-GenerateWwn] [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a hard disk drive to a virtual machine.
Add-VMHardDiskDrive [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String[]> [[-ControllerType] <ControllerType>] [[-ControllerNumber] <Int32>]
[[-ControllerLocation] <Int32>] [[-Path] <String>] [-DiskNumber <UInt32>] [-ResourcePoolName <String>]
[-SupportPersistentReservations] [-AllowUnverifiedPaths] [-MaximumIOPS <UInt64>] [-MinimumIOPS <UInt64>]
[-QoSPolicyID <String>] [-QoSPolicy <CimInstance>] [-Passthru] [-OverrideCacheAttributes <CacheAttributes>]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a network for virtual machine migration on one or more virtual machine hosts.
Add-VMMigrationNetwork [-CimSession <CimSession[]>] [-Subnet] <String> [[-Priority] <UInt32>] [-Passthru]
[-ComputerName <String[]>] [-Credential <PSCredential[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a virtual network adapter to a virtual machine.
Add-VMNetworkAdapter [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String[]> [-SwitchName <String>] [-IsLegacy <Boolean>] [-Name <String>] [-DynamicMacAddress]
[-StaticMacAddress <String>] [-Passthru] [-ResourcePoolName <String>] [-DeviceNaming <OnOffState>] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerCreates an ACL to apply to the traffic through a virtual machine network adapter.
Add-VMNetworkAdapterAcl -Action <VMNetworkAdapterAclAction> -Direction <VMNetworkAdapterAclDirection>
[-LocalIPAddress <String[]>] [-LocalMacAddress <String[]>] [-RemoteIPAddress <String[]>]
[-RemoteMacAddress <String[]>] [-Passthru] [-VMNetworkAdapterName <String>] [-CimSession <CimSession[]>]
[-ComputerName <String[]>] [-Credential <PSCredential[]>] [-VMName] <String[]> [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerCreates an extended ACL for a virtual network adapter.
Add-VMNetworkAdapterExtendedAcl [-Action] <VMNetworkAdapterExtendedAclAction>
[-Direction] <VMNetworkAdapterExtendedAclDirection> [[-LocalIPAddress] <String>] [[-RemoteIPAddress] <String>]
[[-LocalPort] <String>] [[-RemotePort] <String>] [[-Protocol] <String>] [-Weight] <Int32>
[-Stateful <Boolean>] [-IdleSessionTimeout <Int32>] [-IsolationID <Int32>] [-Passthru]
[-VMNetworkAdapterName <String>] [-CimSession <CimSession[]>] [-ComputerName <String[]>]
[-Credential <PSCredential[]>] [-VMName] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a routing domain and virtual subnets to a virtual network adapter.
Add-VMNetworkAdapterRoutingDomainMapping [-RoutingDomainID] <Guid> [-RoutingDomainName] <String>
[-IsolationID] <Int32[]> [[-IsolationName] <String[]>] [-Passthru] [-VMNetworkAdapterName <String>]
[-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>] [-VMName] <String[]>
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a RemoteFX video adapter in a virtual machine.
Add-VMRemoteFx3dVideoAdapter [-CimSession <CimSession[]>] [-ComputerName <String[]>]
[-Credential <PSCredential[]>] [-VMName] <String[]> [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a SCSI controller in a virtual machine.
Add-VMScsiController [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String[]> [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a path to a storage resource pool.
Add-VMStoragePath [-Path] <String[]> [-ResourcePoolName] <String[]> [-ResourcePoolType] <VMResourcePoolType>
[-Passthru] [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerAdds a virtual switch to an Ethernet resource pool.
Add-VMSwitch [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-Name] <String[]> [-ResourcePoolName] <String[]> [<CommonParameters>]Copied 0 timesWindows ServerAdds a node to a workgroup cluster.
Add-WorkgroupClusterNode [-Node] <String[]> [-Credentials] <PSCredential[]> [-Name] <String>
[-Credential] <PSCredential> [-NoStorage] [-Confirm] [-WhatIf] [<CommonParameters>]Copied 0 timesWindows ServerBacks up the security descriptor of an item.
Backup-ACL [-Path] <String> [-DestinationPath] <String> [-LogPath] <String> [[-ScheduleTrigger] <Object>]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerPrevents the specified user or users from accessing a failover cluster.
Block-ClusterAccess [-User] <StringCollection> [-InputObject <PSObject>] [-Cluster <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerBlocks access to a file share.
Block-FileShareAccess -Name <String[]> [-FileServer <CimInstance>] -AccountName <String[]>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerCreates a checkpoint of a virtual machine.
Checkpoint-VM [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-Name] <String[]> [[-SnapshotName] <String>] [-AsJob] [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerClears the persistent reservation on a disk in a failover cluster.
Clear-ClusterDiskReservation [[-Node] <StringCollection>] -Disk <UInt32[]> [-Force] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerClears the cluster configuration from a node that was evicted from a failover cluster.
Clear-ClusterNode [[-Name] <StringCollection>] [-Force] [-Wait <Int32>] [-CleanupDisks]
[-InputObject <PSObject>] [-Cluster <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerCleans a disk by removing all partition information and un-initializing it, erasing all data on the disk.
Clear-Disk [-Number] <UInt32[]> [-RemoveData] [-RemoveOEM] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerUnpins a file from the specified storage tier.
Clear-FileStorageTier -FilePath <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerResets the Host Guardian Service on the local node to the uninitialized state.
Clear-HgsServer [[-ClusterName] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 times