COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Sets the cryptographic key used in the generation of segment secrets.
Set-BCSecretKey [[-Passphrase] <String>] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityUpdates the configuration of the specified BGP peer.
Set-BgpPeer [-Name] <String> [-LocalIPAddress <IPAddress>] [-PeerIPAddress <IPAddress>] [-LocalASN <UInt32>]
[-PeerASN <UInt32>] [-OperationMode <OperationMode>] [-PeeringMode <PeeringMode>] [-HoldTimeSec <UInt16>]
[-IdleHoldTimeSec <UInt16>] [-MaxAllowedPrefix <UInt32>] [-RoutingDomain <String>] [-PassThru] [-Force]
[-ClearPrefixLimit] [-Weight <UInt16>] [-RouteReflectorClient <Boolean>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityUpdates the configuration of the local BGP router for the specified tenant ID.
Set-BgpRouter [-BgpIdentifier <IPAddress>] [-LocalASN <UInt32>] [-CompareMEDAcrossASN <Boolean>]
[-DefaultGatewayRouting <Boolean>] [-IPv6Routing <IPv6RoutingState>] [-RoutingDomain <String>] [-PassThru]
[-Force] [-LocalIPv6Address <IPAddress>] [-TransitRouting <TransitRouting>] [-RouteReflector <RouteReflector>]
[-ClusterId <UInt32>] [-ClientToClientReflection <ClientToClientReflection>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies a routing policy configuration.
Set-BgpRoutingPolicy [-Name] <String> [-PassThru] [-PolicyType <PolicyType>] [-RoutingDomain <String>] [-Force]
[-AddCommunity <String[]>] [-RemoveCommunity <String[]>] [-RemovePolicyClause <String[]>]
[-MatchASNRange <UInt32[]>] [-IgnorePrefix <String[]>] [-MatchCommunity <String[]>] [-MatchPrefix <String[]>]
[-MatchNextHop <IPAddress[]>] [-NewLocalPref <UInt32>] [-NewMED <UInt32>] [-NewNextHop <IPAddress>]
[-ClearMED] [-RemoveAllCommunities] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies BGP routing policies for BGP peers.
Set-BgpRoutingPolicyForPeer -PolicyName <String[]> [-PeerName <String[]>] [-RoutingDomain <String>]
-Direction <PolicyDirection> [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesPowerShellModifies the name and ID of a Code Integrity policy.
Set-CIPolicyIdInfo [-FilePath] <String> [-PolicyName <String>] [-SupplementsBasePolicyID <Guid>]
[-BasePolicyToSupplementPath <String>] [-ResetPolicyID] [-PolicyId <String>] [<CommonParameters>]Copied 0 timesPowerShellModifies the SecureSettings within the Code Integrity policy.
Set-CIPolicySetting [-FilePath] <String> -Provider <String> -Key <String> -ValueName <String>
-ValueType <String> -Value <String> [<CommonParameters>]Copied 0 timesPowerShellUpdates the version number of the policy.
Set-CIPolicyVersion -FilePath <String> -Version <String> [<CommonParameters>]Copied 0 timesNetworking / SecuritySets local certificate auto-enrollment policy.
Set-CertificateAutoEnrollmentPolicy [-StoreName <String[]>] -PolicyState <PolicySetting>
[-ExpirationPercentage <Int32>] [-EnableTemplateCheck] [-EnableMyStoreManagement]
[-EnableBalloonNotifications] -context <Context> [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerEnable or disable an affinity rule, and update the rule type.
Set-ClusterAffinityRule [[-Name] <String[]>] [-RuleType <RuleType>] [-Enabled <UInt32>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]Copied 0 timesWindows ServerSets a network adapter to the list of excluded adapters.
Set-ClusterExcludedAdapter -ExclusionType <AdapterExclusionType> -ExclusionValue <String[]>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerUpdate an existing cluster fault domain.
Set-ClusterFaultDomain [[-Name] <String[]>] [-Id <String[]>] [-NewName <String>]
[-Location <String>] [-Description <String>] [-FaultDomain <String>] [-Flags <UInt32>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]Copied 0 timesWindows ServerSets the size and level of detail for the cluster log.
Set-ClusterLog [-Size <Int32>] [-Level <Int32>] [-InputObject <PSObject>] [-Cluster <String>]
[<CommonParameters>]Copied 0 timesWindows ServerSpecifies which nodes can own a resource in a failover cluster or specifies the order of preference among owner nodes for a clustered role, or resource group.
Set-ClusterOwnerNode [-Resource <String>] [-Group <String>] -Owners <StringCollection>
[-InputObject <PSObject>] [-Cluster <String>] [<CommonParameters>]Copied 0 timesWindows ServerConfigures quorum options for a failover cluster.
Set-ClusterQuorum [-DiskOnly <String>] [-NoWitness] [-DiskWitness <String>]
[-FileShareWitness <String>] [-CloudWitness] [-AccountName <String>] [-Endpoint <String>]
[-AccessKey <String>] [-InputObject <PSObject>] [-Cluster <String>] [<CommonParameters>]Copied 0 timesWindows ServerSpecifies the resources that a particular resource depends on within a failover cluster.
Set-ClusterResourceDependency [[-Resource] <String>] [[-Dependency] <String>]
[-InputObject <PSObject>] [-Cluster <String>] [<CommonParameters>]Copied 0 timesWindows ServerSets S2D cache parameters.
Set-ClusterStorageSpacesDirect [-CacheState <CacheStateType>] [-CacheModeHDD <CacheModeType>]
[-CacheModeSSD <CacheModeType>] [-Nodes <String[]>] [-SkipEligibilityChecks]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerConfigures the system to enable S2D to claim or not claim specific physical disks.
Set-ClusterStorageSpacesDirectDisk [-CanBeClaimed <Boolean>] [-PhysicalDiskIds <String[]>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellSets the user culture for the current user account.
Set-Culture [-CultureInfo] <CultureInfo> [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the properties of the connection to application servers and the IPsec security traffic protection policies for the connection.
Set-DAAppServerConnection [-ConnectionType <String>] [-TrafficProtection <String>] [-ComputerName <String>]
[-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the properties related to a DirectAccess (DA) client.
Set-DAClient [-ComputerName <String>] [-ForceTunnel <String>] [-OnlyRemoteComputers <String>]
[-Downlevel <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the DNS server and proxy server addresses of a Name Resolution Policy Table (NRPT) entry and configures the local name resolution property.
Set-DAClientDnsConfiguration [-DnsSuffix <String>] [-DnsIPAddress <String[]>] [-ProxyServer <String>]
[-Local <String>] [-ComputerName <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellModifies the configuration of the specified DirectAccess client user experience.
Set-DAClientExperienceConfiguration [-PolicyStore <String>] [-GPOSession <String>]
[[-CorporateResources] <String[]>] [[-IPsecTunnelEndpoints] <String[]>] [[-PreferLocalNamesAllowed] <Boolean>]
[[-UserInterface] <Boolean>] [[-SupportEmail] <String>] [[-FriendlyName] <String>]
[[-ManualEntryPointSelectionAllowed] <Boolean>] [[-GslbFqdn] <String>] [[-ForceTunneling] <ForceTunneling>]
[[-CustomCommands] <String[]>] [[-PassiveMode] <Boolean>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityModifies domain controller (DC) settings for the entry point.
Set-DAEntryPointDC [-ComputerName <String>] [-NewDC <String>] [-Force] [-PassThru] -EntryPointName <String>
[-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