COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Configures permissions on an Active Directory (AD) Organizational Unit (OU) to enable computers in that OU to update their Windows Local Administrator Password Solution (LAPS) passwords.
Set-LapsADComputerSelfPermission -Identity <String[]> [-Domain <String>]
[-DomainController <String>] [-Credential <PSCredential>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellSets the Windows Local Administrator Password Solution (LAPS) password expiration timestamp on an Active Directory (AD) computer or domain controller object.
Set-LapsADPasswordExpirationTime [-Credential <PSCredential>] -Identity <String[]>
[-WhenEffective <DateTime>] [-Domain <String>] [-DomainController <String>] [<CommonParameters>]Copied 0 timesPowerShellConfigures security on an Active Directory (AD) Organizational Unit (OU) to grant specific users or groups permission to query Windows Local Administrator Password Solution (LAPS) passwords.
Set-LapsADReadPasswordPermission [-Credential <PSCredential>] -Identity <String[]>
-AllowedPrincipals <String[]> [-Domain <String>] [-DomainController <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellConfigures security on an Active Directory (AD) Organizational Unit (OU) to grant specific users or groups permission to set the Windows Local Administrator Password Solution (LAPS) password expiration time.
Set-LapsADResetPasswordPermission [-Credential <PSCredential>] -Identity <String[]>
-AllowedPrincipals <String[]> [-Domain <String>] [-DomainController <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellSets the maximum number of prefetch files for scenarios that the Operation Recorder API records.
Set-MMAgent -MaxOperationAPIFiles <UInt32> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesPowerShellChanges MPIO settings.
Set-MPIOSetting [[-NewPathVerificationPeriod] <Int32>] [[-NewPathVerificationState] <String>]
[[-NewPDORemovePeriod] <Int32>] [[-NewRetryCount] <Int32>] [[-NewRetryInterval] <Int32>]
[[-NewDiskTimeout] <Int32>] [[-CustomPathRecovery] <String>] [[-NewPathRecoveryInterval] <Int32>]
[<CommonParameters>]Copied 0 timesNetworking / SecurityConfigures preferences for Windows Defender scans and updates.
Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-ExclusionProcess <String[]>]
[-ExclusionIpAddress <String[]>] [-RealTimeScanDirection <ScanDirection>]
[-IntelTDTEnabled <UInt32>]
[-QuarantinePurgeItemsAfterDelay <UInt32>] [-RemediationScheduleDay <Day>]
[-RemediationScheduleTime <DateTime>] [-ReportingAdditionalActionTimeOut <UInt32>]
[-ReportingCriticalFailureTimeOut <UInt32>] [-ReportingNonCriticalTimeOut <UInt32>]
[-ScanAvgCPULoadFactor <Byte>] [-CheckForSignaturesBeforeRunningScan <Boolean>]
[-ScanPurgeItemsAfterDelay <UInt32>] [-ScanOnlyIfIdleEnabled <Boolean>] [-ScanParameters <ScanType>]
[-ScanScheduleDay <Day>] [-ScanScheduleQuickScanTime <DateTime>] [-ScanScheduleOffset <UInt32>]
[-ScanScheduleTime <HH:MM:SS>]
[-SignatureFirstAuGracePeriod <UInt32>] [-SignatureAuGracePeriod <UInt32>]
[-SignatureDefinitionUpdateFileSharesSources <String>]
[-SignatureDisableUpdateOnStartupWithoutEngine <Boolean>] [-SignatureFallbackOrder <String>]
[-SharedSignaturesPath <String>] [-SignatureScheduleDay <Day>] [-SignatureScheduleTime <DateTime>]
[-SignatureUpdateCatchupInterval <UInt32>] [-SignatureUpdateInterval <UInt32>]
[-SignatureBlobUpdateInterval <UInt32>] [-SignatureBlobFileSharesSources <String>]
[-MeteredConnectionUpdates <Boolean>] [-AllowNetworkProtectionOnWinServer <Boolean>]
[-DisableDatagramProcessing <Boolean>] [-DisableCpuThrottleOnIdleScans <Boolean>]
[-MAPSReporting <MAPSReportingType>] [-SubmitSamplesConsent <SubmitSamplesConsentType>]
[-DisableAutoExclusions <Boolean>] [-DisablePrivacyMode <Boolean>] [-RandomizeScheduleTaskTimes <Boolean>]
[-SchedulerRandomizationTime <UInt32>] [-DisableBehaviorMonitoring <Boolean>]
[-DisableRealtimeMonitoring <Boolean>] [-DisableScriptScanning <Boolean>] [-DisableArchiveScanning <Boolean>] [-DisableCacheMaintenance <UInt32>]
[-DisableCatchupFullScan <Boolean>] [-DisableCatchupQuickScan <Boolean>] [-DisableEmailScanning <Boolean>]
[-DisableRemovableDriveScanning <Boolean>] [-DisableRestorePoint <Boolean>]
[-DisableScanningMappedNetworkDrivesForFullScan <Boolean>] [-DisableScanningNetworkFiles <Boolean>]
[-DisableIOAVProtection <Boolean>] [-AllowSwitchToAsyncInspection <Boolean>]
[-UILockdown <Boolean>] [-ThreatIDDefaultAction_Ids <Int64[]>]
[-ThreatIDDefaultAction_Actions <ThreatAction[]>] [-UnknownThreatDefaultAction <ThreatAction>]
[-LowThreatDefaultAction <ThreatAction>] [-ModerateThreatDefaultAction <ThreatAction>]
[-HighThreatDefaultAction <ThreatAction>] [-SevereThreatDefaultAction <ThreatAction>] [-Force]
[-DisableBlockAtFirstSeen <Boolean>] [-PUAProtection <PUAProtectionType>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>] [-DisableGradualRelease <Boolean>] [-DefinitionUpdatesChannel <UpdatesChannelType>] [-EngineUpdatesChannel <UpdatesChannelType>] [-PlatformUpdatesChannel <UpdatesChannelType>][-CloudBlockLevel <CloudBlockLevelType>][-ServiceHealthReportInterval <UInt32>]
[-CloudBlockLevel <CloudBlockLevelType>] [-CloudExtendedTimeout <UInt32>]
[-EnableNetworkProtection <ASRRuleActionType>] [-EnableControlledFolderAccess <ControlledFolderAccessType>]
[-AttackSurfaceReductionOnlyExclusions <String[]>] [-ControlledFolderAccessAllowedApplications <String[]>]
[-ControlledFolderAccessProtectedFolders <String[]>] [-AttackSurfaceReductionRules_Ids <String[]>]
[-AttackSurfaceReductionRules_Actions <ASRRuleActionType[]>] [-EnableLowCpuPriority <Boolean>]
[-EnableFileHashComputation <Boolean>] [-EnableFullScanOnBatteryPower <Boolean>] [-ProxyPacUrl <String>]
[-ProxyServer <String>] [-ProxyBypass <String[]>] [-ForceUseProxyOnly <Boolean>]
[-OobeEnableRtpAndSigUpdate <Boolean>]
[-DisableTlsParsing <Boolean>] [-DisableHttpParsing <Boolean>] [-DisableDnsParsing <Boolean>]
[-DisableFtpParsing <Boolean>] [-DisableSmtpParsing <Boolean>]
[-DisableDnsOverTcpParsing <Boolean>] [-DisableSshParsing <Boolean>]
[-DisableNetworkProtectionPerfTelemetry <Boolean>]
[-PlatformUpdatesChannel <UpdatesChannelType>] [-EngineUpdatesChannel <UpdatesChannelType>]
[-SignaturesUpdatesChannel <UpdatesChannelType>] [-DisableGradualRelease <Boolean>]
[-AllowNetworkProtectionDownLevel <Boolean>] [-AllowDatagramProcessingOnWinServer <Boolean>]
[-EnableDnsSinkhole <Boolean>] [-DisableInboundConnectionFiltering <Boolean>] [-DisableRdpParsing <Boolean>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]PowerShellConfigures the queue manager.
Set-MsmqQueueManager [-RenewEncryptionKey] [-MsgStore <String>] [-MsgLogStore <String>]
[-TransactionLogStore <String>] [-MessageQuota <Int64>] [-JournalQuota <Int64>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellModifies the access rights of a queue manager.
Set-MsmqQueueManagerACL -UserName <String[]> [-Allow <QueueManagerAccessRights>]
[-Deny <QueueManagerAccessRights>] [-Remove <QueueManagerAccessRights>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the 6to4 configuration for both client computers and servers.
Set-Net6to4Configuration [-IPInterface <CimInstance>] [-PolicyStore <String>] [-GPOSession <String>]
[[-State] <State>] [[-AutoSharing] <State>] [[-RelayName] <String>] [[-RelayState] <State>]
[[-ResolutionIntervalSeconds] <UInt32>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the basic network adapter properties.
Set-NetAdapter [-Name] <String[]> [-IncludeHidden] [-VlanID <UInt16>] [-MacAddress <String>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the advanced properties of a network adapter.
Set-NetAdapterAdvancedProperty [[-Name] <String[]>] [-DisplayName <String[]>] [-RegistryKeyword <String[]>]
[-IncludeHidden] [-AllProperties] [-DisplayValue <String>] [-RegistryValue <String[]>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the binding state of a transport or filter on a network adapter.
Set-NetAdapterBinding [-Name] <String[]> [-ComponentID <String[]>] [-DisplayName <String[]>] [-IncludeHidden]
[-AllBindings] [-Enabled <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the various checksum offload settings.
Set-NetAdapterChecksumOffload [-Name] <String[]> [-IncludeHidden] [-IpIPv4Enabled <Direction>]
[-TcpIPv4Enabled <Direction>] [-TcpIPv6Enabled <Direction>] [-UdpIPv4Enabled <Direction>]
[-UdpIPv6Enabled <Direction>] [-NoRestart] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the name of the network adapter, profile, and the profile source.
Set-NetAdapterDataPathConfiguration [-Name] <String[]> [-IncludeHidden] [-Profile <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the encapsulated packet task offload property of the network adapter.
Set-NetAdapterEncapsulatedPacketTaskOffload [-Name] <String[]> [-IncludeHidden]
[-NvgreEncapsulatedPacketTaskOffloadEnabled <Boolean>] [-VxlanEncapsulatedPacketTaskOffloadEnabled <Boolean>]
[-VxlanUDPPortNumber <UInt16>] [-NoRestart] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the IPsec offload properties of a network adapter.
Set-NetAdapterIPsecOffload [-Name] <String[]> [-IncludeHidden] [-Enabled <Boolean>] [-NoRestart] [-PassThru]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the LSO properties of a network adapter.
Set-NetAdapterLso [-Name] <String[]> [-IncludeHidden] [-V1IPv4Enabled <Boolean>] [-IPv4Enabled <Boolean>]
[-IPv6Enabled <Boolean>] [-NoRestart] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets the power management properties on the network adapter.
Set-NetAdapterPowerManagement [-Name] <String[]> [-IncludeHidden] [-ArpOffload <Setting>]
[-D0PacketCoalescing <Setting>] [-DeviceSleepOnDisconnect <Setting>] [-NSOffload <Setting>]
[-RsnRekeyOffload <Setting>] [-SelectiveSuspend <Setting>] [-WakeOnMagicPacket <Setting>]
[-WakeOnPattern <Setting>] [-NoRestart] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesNetworking / SecuritySets QoS properties on a network adapter.
Set-NetAdapterQos [-Name] <String[]> [-IncludeHidden] [-Enabled <Boolean>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the RDMA properties on the network adapter.
Set-NetAdapterRdma [[-Name] <String[]>] [-IncludeHidden] [-Enabled <Boolean>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the enabled state of RSC.
Set-NetAdapterRsc [-Name] <String[]> [-IncludeHidden] [-IPv4Enabled <Boolean>] [-IPv6Enabled <Boolean>]
[-NoRestart] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the RSS properties on a network adapter.
Set-NetAdapterRss [-Name] <String[]> [-IncludeHidden] [-NumberOfReceiveQueues <UInt32>] [-Profile <Profile>]
[-BaseProcessorGroup <UInt16>] [-BaseProcessorNumber <Byte>] [-MaxProcessorGroup <UInt16>]
[-MaxProcessorNumber <Byte>] [-MaxProcessors <UInt32>] [-NumaNode <UInt16>] [-Enabled <Boolean>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesNetworking / SecuritySets the SR-IOV properties of the network adapter, such as the number of virtual functions, and the number of queue pairs for default and non-default VPorts.
Set-NetAdapterSriov [-Name] <String[]> [-IncludeHidden] [-NumVFs <UInt32>] [-Enabled <Boolean>] [-NoRestart]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-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