COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Changes configuration settings for a virtual desktop collection.
Set-RDVirtualDesktopCollectionConfiguration [-CollectionName] <String> [-CollectionDescription <String>]
[-ClientDeviceRedirectionOptions <RDClientDeviceRedirectionOptions>] [-RedirectAllMonitors <Boolean>]
[-RedirectClientPrinter <Boolean>] [-SaveDelayMinutes <Int32>] [-UserGroups <String[]>]
[-AutoAssignPersonalVirtualDesktopToUser <Boolean>] [-GrantAdministrativePrivilege <Boolean>]
[-CustomRdpProperty <String>] [-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellSets the number of virtual desktops that RDS can create in parallel.
Set-RDVirtualDesktopConcurrency [-ConcurrencyFactor] <Int32> [[-HostServer] <String[]>]
[-ConnectionBroker <String>] [-BatchSize <Int32>] [<CommonParameters>]Copied 0 timesPowerShellSets the maximum number of idle virtual desktops on host servers.
Set-RDVirtualDesktopIdleCount [-IdleCount] <Int32> [[-HostServer] <String[]>] [-ConnectionBroker <String>]
[-BatchSize <Int32>] [<CommonParameters>]Copied 0 timesPowerShellSets the export path for virtual desktop templates.
Set-RDVirtualDesktopTemplateExportPath [[-ConnectionBroker] <String>] [-Path] <String> [<CommonParameters>]Copied 0 timesPowerShellAssigns a workspace name for a Remote Desktop deployment.
Set-RDWorkspace [-Name] <String> [-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellSets the deduplication schedule on a specified ReFS volume.
Set-ReFSDedupSchedule [-Volume] <String> -Start <DateTime> [-Duration <TimeSpan>] -Days <DaysOfWeek>
[-CpuPercentage <UInt32>] [-ConcurrentOpenFiles <UInt32>] [-MinimumLastModifiedTimeHours <Int32>]
[-ExcludeFileExtension <String[]>] [-ExcludeFolder <String[]>] [-CompressionFormat <Format>]
[-CompressionLevel <UInt16>] [-CompressionChunkSize <UInt32>] [-CompressionTuning <UInt32>]
[-RecompressionTuning <UInt32>] [-DecompressionTuning <UInt32>] [<CommonParameters>]Copied 0 timesPowerShellSets the deduplication scrub schedule on the specified ReFS volume.
Set-ReFSDedupScrubSchedule [-Volume] <String> -Start <DateTime> -Days <DaysOfWeek>
-WeeksInterval <UInt16> [-DedupDataOnly <Boolean>] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the configuration that is common to both DirectAccess (DA) and VPN such SSL certificate, Internal interface, and Internet interface.
Set-RemoteAccess [-SslCertificate <X509Certificate2>] [-ComputerName <String>] [-InternetInterface <String>]
[-InternalInterface <String>] [-Force] [-PassThru] [-CapacityKbps <UInt64>] [-UseHttp <Boolean>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the enabled state for inbox and RADIUS accounting for both external RADIUS and Windows accounting and configures the settings when enabled.
Set-RemoteAccessAccounting [-ComputerName <String>] [-PassThru] [-RadiusServer <String>]
[-SharedSecret <String>] [-RadiusPort <UInt16>] [-RadiusScore <Byte>] [-RadiusTimeout <UInt32>]
[-AccountingOnOffMsg <String>] [-EnableAccountingType] <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the configuration of a remote access role.
Set-RemoteAccessConfiguration [-Configuration] <CimInstance> [-RestartServiceIfRequired] [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies the size of the inbox accounting store.
Set-RemoteAccessInboxAccountingStore [-StoreLimit] <String> [-ComputerName <String>] [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures load balancing on the Remote Access (RA) server or the cluster server.
Set-RemoteAccessLoadBalancer [-ComputerName <String>] [-PassThru] [-UseThirdPartyLoadBalancer]
[-InternetDedicatedIPAddress] <String[]> [-InternalDedicatedIPAddress <String[]>]
[-InternetVirtualIPAddress <String[]>] [-InternalVirtualIPAddress <String[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityEdits the properties associated with an external RADIUS server being used for VPN authentication, accounting for DirectAccess (DA) and VPN, and one-time password (OTP) authentication for DA.
Set-RemoteAccessRadius [-ComputerName <String>] [-Purpose] <String> [-Port <UInt16>] [-Score <Byte>]
[-ServerName] <String> [-Timeout <UInt32>] [-SharedSecret <String>] [-AccountingOnOffMsg <String>]
[-MsgAuthenticator <String>] [-EntrypointName <String>] [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellSets the service account for an AD RMS cluster.
Set-RmsSvcAccount [-Credential] <PSCredential> [-Force] [-PassThru] [-Path] <String[]> [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures preferences for routing protocols.
Set-RoutingProtocolPreference [-Name] <String> [-Level] <UInt32> [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellModifies rule options in a Code Integrity policy.
Set-RuleOption [-Delete] [-FilePath] <String> [-Option] <Int32> [<CommonParameters>]Copied 0 timesWindows ServerModifies settings of a replication group.
Set-SRGroup [[-ComputerName] <String>] [-Name] <String> [-AddVolumeName] <String[]> [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerCreates or modifies a replication network constraint for servers and partnerships.
Set-SRNetworkConstraint [[-SourceComputerName] <String>] [[-SourceRGName] <String>]
[-SourceNWInterface] <String[]> [[-DestinationComputerName] <String>] [[-DestinationRGName] <String>]
[-DestinationNWInterface] <String[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerModifies a replication partnership between two replication groups.
Set-SRPartnership [[-SourceComputerName] <String>] [-SourceRGName] <String>
[-SourceAddVolumePartnership] <String[]> [-DestinationComputerName] <String>
[-DestinationRGName] <String> [-DestinationAddVolumePartnership] <String[]> [-Seeded] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellSets the Secure Boot-related UEFI variables.
Set-SecureBootUEFI -Name <String> [-ContentFilePath <String>] [-SignedFilePath <String>] -Time <String>
[-AppendWrite] [-OutputFilePath <String>] [<CommonParameters>]Copied 0 timesPowerShellApplies configuration settings for Software Inventory Logging.
Set-SilLogging [-TimeOfDay <DateTime>] [-TargetUri <String>] [-CertificateThumbprint <String>]
[-CimSession <CimSession[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityAdds an SMB bandwidth cap.
Set-SmbBandwidthLimit -Category <BandwidthLimitCategory> -BytesPerSecond <UInt64> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures an existing client certificate mapping for the Server Message Block (SMB) protocol.
Set-SmbClientCertificateMapping [-Namespace] <String> [-Flags <Flags>] [-Thumbprint <String>]
[-StoreName <String>] [-IssuerName <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the SMB client configuration.
Set-SmbClientConfiguration [-AuditInsecureGuestLogon <Boolean>]
[-AuditServerDoesNotSupportEncryption <Boolean>] [-AuditServerDoesNotSupportSigning <Boolean>]
[-BlockNTLM <Boolean>] [-CompressibilitySamplingSize <UInt64>] [-CompressibleThreshold <UInt64>]
[-ConnectionCountPerRssNetworkInterface <UInt32>] [-DirectoryCacheEntriesMax <UInt32>]
[-DirectoryCacheEntrySizeMax <UInt32>] [-DirectoryCacheLifetime <UInt32>]
[-DisableCompression <Boolean>] [-DormantFileLimit <UInt32>]
[-EnableBandwidthThrottling <Boolean>] [-EnableByteRangeLockingOnReadOnlyFiles <Boolean>]
[-EnableCompressibilitySampling <Boolean>] [-EnableInsecureGuestLogons <Boolean>]
[-EnableLargeMtu <Boolean>] [-EnableLoadBalanceScaleOut <Boolean>] [-EnableMailslots <Boolean>]
[-EnableMultiChannel <Boolean>] [-EnableSecuritySignature <Boolean>] [-EnableSMBQUIC <Boolean>]
[-EncryptionCiphers <String>] [-ExtendedSessionTimeout <UInt32>]
[-FileInfoCacheEntriesMax <UInt32>] [-FileInfoCacheLifetime <UInt32>]
[-FileNotFoundCacheEntriesMax <UInt32>] [-FileNotFoundCacheLifetime <UInt32>]
[-ForceSMBEncryptionOverQuic <Boolean>] [-InvalidAuthenticationCacheLifetime <UInt32>]
[-KeepConn <UInt32>] [-MaxCmds <UInt32>] [-MaximumConnectionCountPerServer <UInt32>]
[-OplocksDisabled <Boolean>] [-RequestCompression <Boolean>] [-RequireEncryption <Boolean>]
[-RequireSecuritySignature <Boolean>] [-SessionTimeout <UInt32>] [-SkipCertificateCheck <Boolean>]
[-Smb2DialectMax <Smb2DialectMax>] [-Smb2DialectMin <Smb2DialectMin>]
[-UseOpportunisticLocking <Boolean>] [-WindowSizeThreshold <UInt32>] [-Force]
[-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