COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Modifies 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 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 timesNetworking / SecurityChanges DNS servers for an existing DNS suffix.
Set-VpnConnectionTriggerDnsConfiguration [-ConnectionName] <String> [[-DnsSuffix] <String>]
[[-DnsIPAddress] <String[]>] [[-DnsSuffixSearchList] <String[]>] [-PassThru] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the trusted network list.
Set-VpnConnectionTriggerTrustedNetwork [-ConnectionName] <String> [-DefaultDnsSuffixes] [-PassThru] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures the IPv4 address assignment method or the IPv6 prefix for IPv6 address assignment.
Set-VpnIPAddressAssignment [-IPAddressRange <String[]>] [-ComputerName <String>] [-IPAssignmentMethod <String>]
[-IPv6Prefix <String>] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityUpdates parameters for an S2S Interface.
Set-VpnS2SInterface [[-Destination] <String[]>] [-AdminStatus <Boolean>] [-PromoteAlternate <Boolean>]
[-AuthenticationMethod <String>] [-EapMethod <String>] [-InternalIPv4 <Boolean>] [-Force]
[-PostConnectionIPv4Subnet <String[]>] [-IPv4TriggerFilter <String[]>] [-IPv4TriggerFilterAction <Action>]
[-PostConnectionIPv6Subnet <String[]>] [-IPv6TriggerFilter <String[]>] [-IPv6TriggerFilterAction <Action>]
[-IPv4Subnet <String[]>] [-Name] <String> [-ResponderAuthenticationMethod <String>] [-PassThru] [-Persistent]
[-AutoConnectEnabled <Boolean>] [-InitiateConfigPayload <Boolean>] [-RadiusAttributeClass <String>]
[-EnableQoS <EnableQoS>] [-TxBandwidthKbps <UInt64>] [-RxBandwidthKbps <UInt64>]
[-NetworkOutageTimeSeconds <UInt32>] [-NumberOfTries <UInt32>] [-RetryIntervalSeconds <UInt32>]
[-SADataSizeForRenegotiationKilobytes <UInt32>] [-SALifeTimeSeconds <UInt32>] [-MMSALifeTimeSeconds <UInt32>]
[-IPv6Subnet <String[]>] [-InternalIPv6 <Boolean>] [-IdleDisconnectSeconds <UInt32>] [-UserName <String>]
[-Password <String>] [-Certificate <X509Certificate2>] [-SharedSecret <String>] [-SourceIpAddress <String>]
[-LocalVpnTrafficSelector <CimInstance[]>] [-RemoteVpnTrafficSelector <CimInstance[]>]
[-EncryptionType <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityDisplays all of the existing firewall rules and associated objects in a fully expanded view.
Show-NetFirewallRule [-PolicyStore <String>] [-GPOSession <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityDisplays all of the existing IPsec rules and associated objects in a fully expanded view.
Show-NetIPsecRule [-PolicyStore <String>] [-GPOSession <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts a scan on a computer.
Start-MpScan [-ScanPath <String>] [-ScanType <ScanType>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts a Windows Defender offline scan.
Start-MpWDOScan [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts event and packet capture for a network event session.
Start-NetEventSession [-Name] <String[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts the Network ATC service on specified hosts.
Start-NetworkAtc [[-ComputerName] <String>] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts all nodes in a NLB cluster.
Start-NlbCluster [[-HostName] <String>] [[-InterfaceName] <String>] [<CommonParameters>]Copied 0 timesNetworking / SecurityStarts a NLB cluster node.
Start-NlbClusterNode -InputObject <Node[]> [<CommonParameters>]Copied 0 timesNetworking / SecurityStops event and packet capture for a network event session.
Stop-NetEventSession [-Name] <String[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityStops the Network ATC service on specified hosts.
Stop-NetworkAtc [[-ComputerName] <String>] [<CommonParameters>]Copied 0 timesNetworking / SecurityStops all nodes of a NLB cluster.
Stop-NlbCluster [-Drain] [-Timeout <UInt32>] [[-HostName] <String>] [[-InterfaceName] <String>]
[<CommonParameters>]Copied 0 timesNetworking / SecurityStops a node in a NLB cluster.
Stop-NlbClusterNode [-Drain] [-Timeout <UInt32>] [[-HostName] <String>] [-InterfaceName <String>]
[<CommonParameters>]Copied 0 times