COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Create a S2S interface with the specified parameters.
Add-VpnS2SInterface [-Name] <String> [-Protocol <String>] [-Destination] <String[]> [-AdminStatus <Boolean>]
[-PromoteAlternate <Boolean>] [-AuthenticationMethod <String>] [-PostConnectionIPv4Subnet <String[]>]
[-PostConnectionIPv6Subnet <String[]>] [-InitiateConfigPayload <Boolean>] [-RadiusAttributeClass <String>]
[-EnableQoS <EnableQoS>] [-TxBandwidthKbps <UInt64>] [-RxBandwidthKbps <UInt64>]
[-IPv4TriggerFilter <String[]>] [-IPv6TriggerFilter <String[]>] [-Persistent] [-AutoConnectEnabled <Boolean>]
[-IPv4TriggerFilterAction <Action>] [-IPv6TriggerFilterAction <Action>]
[-SADataSizeForRenegotiationKilobytes <UInt32>] [-IPv4Subnet <String[]>] [-IPv6Subnet <String[]>]
[-ResponderAuthenticationMethod <String>] [-PassThru] [[-RoutingDomain] <String>]
[-Certificate <X509Certificate2>] [-SharedSecret <String>] [-NetworkOutageTimeSeconds <UInt32>]
[-NumberOfTries <UInt32>] [-RetryIntervalSeconds <UInt32>] [-SALifeTimeSeconds <UInt32>]
[-MMSALifeTimeSeconds <UInt32>] [-EapMethod <String>] [-InternalIPv4 <Boolean>] [-InternalIPv6 <Boolean>]
[-IdleDisconnectSeconds <UInt32>] [-UserName <String>] [-Password <String>] [-SourceIpAddress <String>]
[-LocalVpnTrafficSelector <CimInstance[]>] [-RemoteVpnTrafficSelector <CimInstance[]>]
[-EncryptionType <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityBacks up the DHCP database of DHCP server service.
Backup-DhcpServer [-ComputerName <String>] [-Path] <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityBlocks SMB client access to a specified server.
Block-SmbClientAccessToServer [-Name] <String[]> -IdentifierType <IdentifierType>
-Identifier <String> [-Description <String>] [-Force] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityAdds a deny ACE for a trustee to the security descriptor of the SMB share.
Block-SmbShareAccess [-Name] <String[]> [[-ScopeName] <String[]>] [-SmbInstance <SmbInstance>]
[-AccountName <String[]>] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityClears the route flap dampening information for the specified set of BGP routes.
Clear-BgpRouteFlapDampening [-RoutingDomain <String>] [-Force] [-Prefix <String[]>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityClears the contents of the DNS client cache.
Clear-DnsClientCache [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityClears resource records from a cache on the DNS server.
Clear-DnsServerCache [-ComputerName <String>] [-Force] [-CacheScope <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityClears all DNS server statistics or statistics for zones.
Clear-DnsServerStatistics [-ComputerName <String>] [-Force] -ZoneName <String[]> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityClears statistics for a site-to-site (S2S) interface.
Clear-VpnS2SInterfaceStatistics [-Name] <String> [-PassThru] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCloses a file that is open by one of the clients of the SMB server.
Close-SmbOpenFile [[-FileId] <UInt64[]>] [-SessionId <UInt64[]>] [-ClientComputerName <String[]>]
[-ClientUserName <String[]>] [-ScopeName <String[]>] [-ClusterNodeName <String[]>]
[-SmbInstance <SmbInstance>] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityEnds forcibly the SMB session.
Close-SmbSession [[-SessionId] <UInt64[]>] [-ClientComputerName <String[]>] [-ClientUserName <String[]>]
[-ScopeName <String[]>] [-ClusterNodeName <String[]>] [-SmbInstance <SmbInstance>] [-Force]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityConnects a site-to-site (S2S) interface that is currently not connected.
Connect-VpnS2SInterface [-Name] <String> [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityConverts a zone to a DNS primary zone.
ConvertTo-DnsServerPrimaryZone [-ComputerName <String>] [-Name] <String> [-LoadExisting] [-PassThru] [-Force]
-ZoneFile <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityConverts a primary zone or stub zone to a secondary zone.
ConvertTo-DnsServerSecondaryZone [-ZoneFile] <String> [-MasterServers] <IPAddress[]> [-Name] <String>
[-ComputerName <String>] [-PassThru] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire firewall rule, and associated filters, to the same or to a different policy store.
Copy-NetFirewallRule -DisplayName <String[]> [-PolicyStore <String>] [-TracePolicyStore]
[-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire main mode cryptographic set to the same or to a different policy store.
Copy-NetIPsecMainModeCryptoSet -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>]
[-TracePolicyStore] [-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire main mode rule, and associated filters, to the same or to a different policy store.
Copy-NetIPsecMainModeRule -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>]
[-TracePolicyStore] [-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire phase 1 authentication set to the same or to a different policy store.
Copy-NetIPsecPhase1AuthSet -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>]
[-TracePolicyStore] [-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire phase 2 authentication set to the same or to a different policy store.
Copy-NetIPsecPhase2AuthSet -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>]
[-TracePolicyStore] [-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire quick mode cryptographic set to the same or to a different policy store.
Copy-NetIPsecQuickModeCryptoSet -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>]
[-TracePolicyStore] [-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecurityCopies an entire IPsec rule, and the associated filters, to the same or to a different policy store.
Copy-NetIPsecRule -DisplayName <String[]> [-PolicyStore <String>] [-GPOSession <String>] [-TracePolicyStore]
[-NewPolicyStore <String>] [-NewGPOSession <String>] [-NewName <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecurityMoves or copies network intents across different hosts or clusters.
Copy-NetIntent [[-Name] <String>] [-SourceComputerName] <String> [-DestinationComputerName] <String>
[-RemoveSource <Boolean>] [-Wait] [<CommonParameters>]Copied 0 timesNetworking / SecurityQueries a Network Controller for detailed diagnostic information.
Debug-NetworkController [-NetworkController] <String> [-SetupDiagnostics] [[-IncludeTraces] <Boolean>]
[[-OutputDirectory] <String>] [[-Credential] <PSCredential>] [[-RestURI] <String>]
[[-CertificateThumbprint] <String>] [[-DeviceCredentials] <Hashtable>] [-ExcludeSlbState] [<CommonParameters>]Copied 0 timesNetworking / SecurityQueries for resources in a failure or warning state.
Debug-NetworkControllerConfigurationState [-NetworkController] <String> [[-ResourceId] <String>]
[[-ResourceType] <String>] [[-Credential] <PSCredential>] [[-RestURI] <String>]
[[-CertificateThumbprint] <String>] [<CommonParameters>]Copied 0 times