COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Creates a new self-signed certificate for testing purposes.
New-SelfSignedCertificate [-SecurityDescriptor <FileSecurity>] [-TextExtension <String[]>]
[-Extension <X509Extension[]>] [-HardwareKeyUsage <HardwareKeyUsage[]>]
[-KeyUsageProperty <KeyUsageProperty[]>] [-KeyUsage <KeyUsage[]>]
[-KeyProtection <KeyProtection[]>] [-KeyExportPolicy <KeyExportPolicy[]>]
[-KeyLength <Int32>] [-KeyAlgorithm <String>] [-SmimeCapabilities] [-ExistingKey]
[-KeyLocation <String>] [-SignerReader <String>] [-Reader <String>]
[-SignerPin <SecureString>] [-Pin <SecureString>] [-KeyDescription <String>]
[-KeyFriendlyName <String>] [-Container <String>] [-Provider <String>]
[-CurveExport <CurveParametersExportType>] [-KeySpec <KeySpec>] [-Type <CertificateType>]
[-FriendlyName <String>] [-NotAfter <DateTime>] [-NotBefore <DateTime>]
[-SerialNumber <String>] [-Subject <String>] [-DnsName <String[]>]
[-SuppressOid <String[]>] [-HashAlgorithm <String>] [-AlternateSignatureAlgorithm]
[-TestRoot] [-Signer <Certificate>] [-CloneCert <Certificate>]
[-CertStoreLocation <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCreates a new client certificate mapping for the Server Message Block (SMB) protocol.
New-SmbClientCertificateMapping [-Namespace] <String> [-Thumbprint <String>] [-StoreName <String>]
[-IssuerName <String>] [-Subject <String>] [-DisplayName <String>] [-Type <Type>] [-Flags <Flags>]
[-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCreates an SMB mapping.
New-SmbMapping [[-LocalPath] <String>] [[-RemotePath] <String>] [-AsJob] [-BlockNTLM <Boolean>]
[-CimSession <CimSession[]>] [-CompressNetworkTraffic <Boolean>] [-Confirm]
[-Credential <PSCredential>] [-GlobalMapping] [-HomeFolder] [-Password <String>]
[-Persistent <Boolean>] [-QuicPort <UInt16>] [-RdmaPort <UInt16>] [-RequireIntegrity <Boolean>]
[-RequirePrivacy <Boolean>] [-SaveCredentials] [-SkipCertificateCheck] [-TcpPort <UInt16>]
[-ThrottleLimit <Int32>] [-TransportType <TransportType>] [-UserName <String>]
[-UseWriteThrough <Boolean>] [-WhatIf] [<CommonParameters>]Copied 0 timesNetworking / SecurityCreates an SMB multi-channel constraint for the specified server.
New-SmbMultichannelConstraint [-ServerName] <String> [-Force] [-InterfaceAlias] <String[]>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCreates a new alternative port for the Server Message Block (SMB) protocol on the local server.
New-SmbServerAlternativePort [-TransportType] <TransportType> [-Port] <UInt16>
[-EnableInstances] <Instance> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCreates a certificate association with the SMB server for SMB over QUIC.
New-SmbServerCertificateMapping [-Name] <String> [-Thumbprint] <String> [-StoreName] <String>
[-Subject <String>] [-DisplayName <String>] [-Type <Type>] [-Flags <Flags>]
[-RequireClientAuthentication <Boolean>] [-SkipClientCertificateAccessCheck <Boolean>] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCreates an SMB share.
New-SmbShare [-Temporary] [-ContinuouslyAvailable <Boolean>] [-Description <String>]
[-ConcurrentUserLimit <UInt32>] [-CATimeout <UInt32>]
[-FolderEnumerationMode <FolderEnumerationMode>] [-CachingMode <CachingMode>]
[-FullAccess <String[]>] [-ChangeAccess <String[]>] [-ReadAccess <String[]>] [-NoAccess <String[]>]
[-SecurityDescriptor <String>] [-Path] <String> [-Name] <String> [[-ScopeName] <String>]
[-EncryptData <Boolean>] [-CompressData <Boolean>] [-LeasingMode <LeasingMode>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerCreates a Storage QoS policy.
New-StorageQosPolicy [[-PolicyId] <Guid>] [[-Name] <String>] [[-MaximumIops] <UInt64>]
[[-MinimumIops] <UInt64>] [[-MaximumIOBandwidth] <UInt64>] [[-ParentPolicy] <CimInstance>]
[[-PolicyType] <PolicyType>] [-AsJob] [-CimSession <CimSession>] [-ThrottleLimit <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerCreates a storage tier.
New-StorageTier [-StoragePoolFriendlyName] <String[]> -FriendlyName <String> [-MediaType <MediaType>]
[-FaultDomainAwareness <FaultDomainType>] [-ColumnIsolation <FaultDomainType>]
[-ResiliencySettingName <String>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-NumberOfGroups <UInt16>] [-NumberOfColumns <UInt16>] [-Interleave <UInt64>] [-Description <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellCreates a Sync Share.
New-SyncShare [-Name] <String> [-Description <String>] [-Type <String>] [-Path] <String>
[-UserFolderName <String>] [-User] <String[]> [-InheritParentFolderPermission] [-MaxUploadFile <UInt64>]
[-RequireEncryption <Boolean>] [-RequirePasswordAutoLock <Boolean>] [-FallbackEnterpriseID <String>]
[-PasswordAutolockExcludeDomain <String[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerCreates a new virtual disk in the specified storage pool.
New-VirtualDisk [-StoragePoolFriendlyName] <String[]> -FriendlyName <String> [-Usage <Usage>]
[-OtherUsageDescription <String>] [-ResiliencySettingName <String>] [-Size <UInt64>] [-UseMaximumSize]
[-ProvisioningType <ProvisioningType>] [-AllocationUnitSize <UInt64>] [-MediaType <MediaType>]
[-IsEnclosureAware <Boolean>] [-FaultDomainAwareness <FaultDomainType>] [-ColumnIsolation <FaultDomainType>]
[-PhysicalDisksToUse <CimInstance[]>] [-PhysicalDiskRedundancy <UInt16>] [-NumberOfDataCopies <UInt16>]
[-NumberOfColumns <UInt16>] [-AutoNumberOfColumns] [-NumberOfGroups <UInt16>] [-Interleave <UInt64>]
[-StorageTiers <CimInstance[]>] [-StorageTierSizes <UInt64[]>] [-WriteCacheSize <UInt64>]
[-AutoWriteCacheSize] [-ReadCacheSize <UInt64>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerCreates a new snapshot of the specified virtual disk.
New-VirtualDiskSnapshot [-VirtualDiskFriendlyName] <String[]> -FriendlyName <String>
[-TargetStoragePoolName <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerCreates a volume with the specified file system.
New-Volume -StoragePoolName <String> -FriendlyName <String> [-FileSystem <FileSystemType>]
[-AccessPath <String>] [-DriveLetter <Char>] [-AllocationUnitSize <UInt32>] [-Size <UInt64>]
[-ResiliencySettingName <String>] [-ProvisioningType <ProvisioningType>] [-MediaType <MediaType>]
[-PhysicalDiskRedundancy <UInt16>] [-NumberOfColumns <UInt16>] [-NumberOfGroups <UInt16>]
[-StorageTiers <CimInstance[]>] [-StorageTierFriendlyNames <String[]>] [-StorageTierSizes <UInt64[]>]
[-WriteCacheSize <UInt64>] [-ReadCacheSize <UInt64>] [-UseMaximumSize] [-CimSession <CimSession>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityCreates a VPN server address object.
New-VpnServerAddress [-ServerAddress] <String> [-FriendlyName] <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellCreates a pre-staged client.
New-WdsClient [-Group <String>] [-ReferralServer <String>] [-PxePromptPolicy <PxePromptPolicy>]
[-WdsClientUnattend <String>] [-JoinDomain <Boolean>] [-BootImagePath <String>] [-OU <String>]
[-Domain <String>] -DeviceID <String> -DeviceName <String> -User <String> -JoinRights <JoinRights>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellCreates an install image group.
New-WdsInstallImageGroup -Name <String> [-SecurityDescriptorSDDL <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellAdds a binding to a website.
New-WebBinding [[-Name] <String>] [-Protocol <String>] [-Port <UInt32>] [-IPAddress <String>]
[-HostHeader <String>] [-SslFlags <Int32>] [-Force] [<CommonParameters>]Copied 0 timesPowerShellCaptures an image of customized or serviced Windows components on a Windows Image File Boot (WIMBoot) configured device.
New-WindowsCustomImage -CapturePath <String> [-ConfigFilePath <String>] [-CheckIntegrity] [-Verify]
[-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]Copied 0 timesPowerShellCaptures an image of a drive to a new WIM file.
New-WindowsImage -ImagePath <String> -CapturePath <String> [-CompressionType <String>]
[-ConfigFilePath <String>] [-Description <String>] -Name <String> [-CheckIntegrity] [-NoRpFix] [-Setbootable]
[-Verify] [-WIMBoot] [-SupportEa] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>]
[<CommonParameters>]Copied 0 timesPowerShellCreates a virtual desktop.
New-WmsVirtualDesktop [-All] -InputFilePath <String> [-VhdLocation <String>] -TemplatePrefix <String>
[-Domain <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellCreate a virtual desktop template.
New-WmsVirtualDesktopTemplate -InputFilePath <String> [-VhdLocation <String>] -TemplatePrefix <String>
-AdministratorUser <String> -AdministratorPassword <String> [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellLaunches an application in a session.
Open-WmsApp [-SessionId] <UInt32[]> [-FileToRun] <String> [-Server <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellOpens a window connected to a virtual desktop template.
Open-WmsVirtualDesktop -TemplateVirtualMachineGuid <String> [-Domain <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellOptimizes the total file size of provisioned packages on the image by replacing identical files with hard links.
Optimize-AppXProvisionedPackages -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>]
[-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<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