COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Sets the ACL for the file system folder to match the ACL used by an SMB share.
Set-SmbPathAcl [-ShareName] <String> [[-ScopeName] <String>] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the alternative ports for the Server Message Block (SMB) protocol on the local server.
Set-SmbServerAlternativePort [-TransportType] <TransportType> [-Port] <UInt16>
[-EnableInstances] <Instance> [[-DisableInstances] <Instance>] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityModifies a certificate association with the SMB server for SMB over QUIC.
Set-SmbServerCertificateMapping [-Name] <String[]> [-Flags <Flags>] [-Thumbprint <String>]
[-StoreName <String>] [-RequireClientAuthentication <Boolean>]
[-SkipClientCertificateAccessCheck <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the Server Message Block (SMB) server configuration.
Set-SmbServerConfiguration [-AnnounceComment <String>] [-AnnounceServer <Boolean>]
[-AsynchronousCredits <UInt32>] [-AuditClientCertificateAccess <Boolean>]
[-AuditClientDoesNotSupportEncryption <Boolean>] [-AuditClientDoesNotSupportSigning <Boolean>]
[-AuditInsecureGuestLogon <Boolean>] [-AuditSmb1Access <Boolean>]
[-AutoDisconnectTimeoutInMinutesV1 <UInt32>] [-AutoDisconnectTimeoutInSecondsV2 <UInt32>]
[-AutoShareServer <Boolean>] [-AutoShareWorkstation <Boolean>] [-CachedOpenLimit <UInt32>]
[-EnableDirectoryHandleLeasing <Boolean>] [-DisableCompression <Boolean>]
[-DisableSmbEncryptionOnSecureConnection <Boolean>] [-DurableHandleV2TimeoutInSeconds <UInt32>]
[-EnableAuthenticateUserSharing <Boolean>] [-EnableDownlevelTimewarp <Boolean>]
[-EnableForcedLogoff <Boolean>] [-EnableLeasing <Boolean>] [-EnableMailslots <Boolean>]
[-EnableMultiChannel <Boolean>] [-EnableOplocks <Boolean>] [-EnableSecuritySignature <Boolean>]
[-EnableSMB1Protocol <Boolean>] [-EnableSMB2Protocol <Boolean>] [-EnableSMBQUIC <Boolean>]
[-EnableStrictNameChecking <Boolean>] [-EncryptData <Boolean>] [-EncryptionCiphers <String>]
[-InvalidAuthenticationDelayTimeInMs <UInt32>] [-IrpStackSize <UInt32>] [-KeepAliveTime <UInt32>]
[-MaxChannelPerSession <UInt32>] [-MaxMpxCount <UInt32>] [-MaxSessionPerConnection <UInt32>]
[-MaxThreadsPerQueue <UInt32>] [-MaxWorkItems <UInt32>] [-NullSessionPipes <String>]
[-NullSessionShares <String>] [-OplockBreakWait <UInt32>]
[-PendingClientTimeoutInSeconds <UInt32>] [-RejectUnencryptedAccess <Boolean>]
[-RequestCompression <Boolean>] [-RequireSecuritySignature <Boolean>]
[-RestrictNamedpipeAccessViaQuic <Boolean>] [-ServerHidden <Boolean>] [-Smb2CreditsMax <UInt32>]
[-Smb2CreditsMin <UInt32>] [-Smb2DialectMax <Smb2DialectMax>] [-Smb2DialectMin <Smb2DialectMin>]
[-SmbServerNameHardeningLevel <UInt32>] [-TreatHostAsStableStorage <Boolean>]
[-ValidateAliasNotCircular <Boolean>] [-ValidateShareScope <Boolean>]
[-ValidateShareScopeNotAliased <Boolean>] [-ValidateTargetName <Boolean>] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the properties of the SMB share.
Set-SmbShare [-Name] <String[]> [[-ScopeName] <String[]>] [-SmbInstance <SmbInstance>]
[-Description <String>] [-ConcurrentUserLimit <UInt32>] [-CATimeout <UInt32>]
[-ContinuouslyAvailable <Boolean>] [-FolderEnumerationMode <FolderEnumerationMode>]
[-CachingMode <CachingMode>] [-SecurityDescriptor <String>] [-EncryptData <Boolean>]
[-CompressData <Boolean>] [-IsolatedTransport <Boolean>] [-LeasingMode <LeasingMode>]
[-DirectoryHandleLeasing <Boolean>] [-QoSFlowScope <QoSFlowScope>] [-QoSPolicyId <String>]
[-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerModifies the properties of the specified storage pool.
Set-StoragePool [-NewFriendlyName <String>] [-ClearOnDeallocate <Boolean>] [-IsPowerProtected <Boolean>]
[-RepairPolicy <RepairPolicy>] [-RetireMissingPhysicalDisks <RetireMissingPhysicalDisks>] [-Usage <Usage>]
[-OtherUsageDescription <String>] [-ThinProvisioningAlertThresholds <UInt16[]>] [-FriendlyName] <String>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerModifies whether to enable the SMP provider cache.
Set-StorageProvider [-ProviderName] <String[]> [-RemoteSubsystemCacheMode <RemoteSubsystemCacheMode>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]Copied 0 timesWindows ServerSets the fields on the policy store object.
Set-StorageQosPolicyStore [-InputObject <CimInstance[]>] [[-IOPSNormalizationSize] <UInt32>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerAdjusts or configures current storage settings of the StorageSetting object.
Set-StorageSetting [-NewDiskPolicy <NewDiskPolicy>] [-ScrubPolicy <ScrubPolicy>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerModifies a storage tier.
Set-StorageTier [-NewFriendlyName <String>] -UniqueId <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellSets the subscription license configuration.
Set-SubscriptionLicenseInfo [-Enabled] <Boolean> [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellModifies settings of the Sync Share.
Set-SyncServerSetting [-InputObject <CimInstance[]>] [-Description <String>] [-AdministratorEmail <String>]
[-ADFSUrl <String>] [-SuspendedUser <String[]>] [-MinimumChangeDetectionMins <UInt32>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellModifies the settings for a Sync Share.
Set-SyncShare [-Name] <String[]> [-Description <String>] [-User <String[]>] [-InheritParentFolderPermission]
[-MaxUploadFile <UInt64>] [-RequireEncryption <Boolean>] [-RequirePasswordAutoLock <Boolean>]
[-FallbackEnterpriseID <String>] [-PasswordAutolockExcludeDomain <String[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellSets the provided language as the System Preferred UI Language.
Set-SystemPreferredUILanguage [-Language] <String> [-PassThru] [<CommonParameters>]Copied 0 timesPowerShellChanges the TPM owner authorization value.
Set-TpmOwnerAuth -File <String> -NewOwnerAuthorization <String> [<CommonParameters>]Copied 0 timesPowerShellModifies UE-V configuration settings.
Set-UevConfiguration [-Computer] [-MaxPackageSizeInBytes <Int32>] [-SettingsStoragePath <String>]
[-SettingsTemplateCatalogPath <String>] [-EnableSyncProviderPing] [-DisableSyncProviderPing]
[-SyncTimeoutInMilliseconds <Int32>] [-SyncMethod <String>] [-EnableSync] [-DisableSync]
[-EnableSyncOverMeteredNetwork] [-DisableSyncOverMeteredNetwork] [-EnableSyncOverMeteredNetworkWhenRoaming]
[-DisableSyncOverMeteredNetworkWhenRoaming] [-EnableSettingsImportNotify] [-DisableSettingsImportNotify]
[-SettingsImportNotifyDelayInSeconds <Int32>] [-ContactITUrl <String>] [-ContactITDescription <String>]
[-EnableTrayIcon] [-DisableTrayIcon] [-EnableFirstUseNotification] [-DisableFirstUseNotification]
[-EnableDontSyncWindows8AppSettings] [-DisableDontSyncWindows8AppSettings]
[-WaitForSyncTimeoutInMilliseconds <Int32>] [-EnableWaitForSyncOnApplicationStart]
[-DisableWaitForSyncOnApplicationStart] [-EnableWaitForSyncOnLogon] [-DisableWaitForSyncOnLogon]
[-EnableSyncUnlistedWindows8Apps] [-DisableSyncUnlistedWindows8Apps] [-VdiCollectionName <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesPowerShellModifies which profile to associate with an individual template.
Set-UevTemplateProfile -ID <String> -Profile <String> [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerModifies the attributes of an existing virtual disk.
Set-VirtualDisk [-NewFriendlyName <String>] [-Usage <Usage>] [-OtherUsageDescription <String>]
[-FriendlyName] <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerSets or changes the file system label of an existing volume.
Set-Volume [-NewFileSystemLabel <String>] -FileSystemLabel <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the authentication method for incoming site-to-site (S2S) VPN interfaces on a Routing and Remote Access (RRAS) server.
Set-VpnAuthProtocol [-UserAuthProtocolAccepted <String[]>] [-TunnelAuthProtocolsAdvertised <String>]
[-RootCertificateNameToAccept <X509Certificate2>] [-CertificateAdvertised <X509Certificate2>]
[-SharedSecret <String>] [-PassThru] [-CertificateEKUsToAccept <String[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the authentication type to be used for connecting to a VPN.
Set-VpnAuthType [-Type] <String> [[-RadiusServer] <String>] [[-SharedSecret] <String>]
[-RadiusTimeout <UInt32>] [-RadiusScore <Byte>] [-RadiusPort <UInt16>] [-ComputerName <String>]
[-MsgAuthenticator <String>] [-EntrypointName <String>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityChanges the configuration settings of an existing VPN connection profile.
Set-VpnConnection [-Name] <String> [[-ServerAddress] <String>] [-AllUserConnection]
[[-SplitTunneling] <Boolean>] [[-RememberCredential] <Boolean>] [[-TunnelType] <String>] [-PassThru] [-Force]
[[-L2tpPsk] <String>] [[-AuthenticationMethod] <String[]>] [[-EapConfigXmlStream] <XmlDocument>]
[[-UseWinlogonCredential] <Boolean>] [[-EncryptionLevel] <String>] [-MachineCertificateEKUFilter <String[]>]
[-MachineCertificateIssuerFilter <X509Certificate2>] [-ServerList <CimInstance[]>]
[-IdleDisconnectSeconds <UInt32>] [-DnsSuffix <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the IPsec parameters of a VPN connection.
Set-VpnConnectionIPsecConfiguration [-ConnectionName] <String>
[-AuthenticationTransformConstants] <AuthenticationTransformConstants>
[-CipherTransformConstants] <CipherTransformConstants> [-EncryptionMethod] <EncryptionMethod>
[-IntegrityCheckMethod] <IntegrityCheckMethod> [-PfsGroup] <PfsGroup> [-DHGroup] <DHGroup> [-PassThru]
[-Force] [-AllUserConnection] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures web proxy information for the specified VPN connection.
Set-VpnConnectionProxy [-AutoDetect] [-AutoConfigurationScript <String>] [-ProxyServer <String>]
[-BypassProxyForLocal] [-ExceptionPrefix <String[]>] [-ConnectionName] <String> [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<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