COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Sets the Windows volume activation type.
Set-OSLicenseInfo [-ActivationType] <Int32> [-AsJob] [<CommonParameters>]Copied 0 timesPowerShellConfigures the properties for installed ODBC drivers.
Set-OdbcDriver [-PassThru] [-SetPropertyValue <String[]>] [-RemovePropertyValue <String[]>] [-Name] <String>
[-Platform <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesPowerShellConfigures properties for existing ODBC DSNs.
Set-OdbcDsn [-PassThru] [-SetPropertyValue <String[]>] [-RemovePropertyValue <String[]>] [-Name] <String>
[-DriverName <String>] [-Platform <String>] -DsnType <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellChanges the network configuration of a PCSV device.
Set-PcsvDeviceNetworkConfiguration [-TimeoutSec <UInt32>] [-IPv4AddressOrigin] <PossibleIPv4Origins>
[-IPv4Address <String>] [-IPv4DefaultGateway <String>] [-IPv4SubnetMask <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellCommands to enable and disable process mitigations or set them in bulk from an XML file.
Set-ProcessMitigation [[-Name] <String>] [-Disable <String[]>] [-Enable <String[]>] [-EAFModules <String[]>]
[-Force <String>] [-Reset] [-Remove] [<CommonParameters>]Copied 0 timesPowerShellSets the active Remote Desktop Connection Broker server, or management server, in a remote desktop deployment.
Set-RDActiveManagementServer [-ManagementServer] <String> [<CommonParameters>]Copied 0 timesPowerShellSets a DNS name that clients use to connect to a Remote Desktop deployment.
Set-RDClientAccessName [[-ConnectionBroker] <String>] [-ClientAccessName] <String> [<CommonParameters>]Copied 0 timesPowerShellSets high availability settings for RD Connection Broker servers for a Remote Desktop deployment.
Set-RDConnectionBrokerHighAvailability [[-ConnectionBroker] <String>] [-DatabaseConnectionString] <String>
[[-DatabaseSecondaryConnectionString] <String>] [[-DatabaseFilePath] <String>] [-ClientAccessName] <String>
[<CommonParameters>]Copied 0 timesPowerShellConfigures the database connection string for the database server used in a high availability environment.
Set-RDDatabaseConnectionString [[-DatabaseConnectionString] <String>]
[[-DatabaseSecondaryConnectionString] <String>] [[-ConnectionBroker] <String>] [-RestoreDatabaseConnection]
[-RestoreDBConnectionOnAllBrokers] [<CommonParameters>]Copied 0 timesPowerShellSpecifies settings for the RD Gateway server for a Remote Desktop deployment.
Set-RDDeploymentGatewayConfiguration [-GatewayMode] <GatewayUsage> [[-GatewayExternalFqdn] <String>]
[[-LogonMethod] <GatewayAuthMode>] [[-UseCachedCredentials] <Boolean>] [[-BypassLocal] <Boolean>]
[[-ConnectionBroker] <String>] [-Force] [<CommonParameters>]Copied 0 timesPowerShellChanges the file type association of a RemoteApp program in a Remote Desktop deployment.
Set-RDFileTypeAssociation [-CollectionName] <String> -AppAlias <String> -FileExtension <String>
-IsPublished <Boolean> [-IconPath <String>] [-IconIndex <String>] -VirtualDesktopName <String>
[-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellDefines settings for the RD Licensing server and the licensing mode of the Remote Desktop deployment.
Set-RDLicenseConfiguration -Mode <LicensingMode> -LicenseServer <String[]> [-Force]
[-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellChanges patch schedule settings for a personal virtual desktop.
Set-RDPersonalVirtualDesktopPatchSchedule [-VirtualDesktopName] <String> [-ID] <String> [[-Context] <Byte[]>]
[[-Deadline] <DateTime>] [[-StartTime] <DateTime>] [[-EndTime] <DateTime>] [[-Label] <String>]
[[-Plugin] <String>] [[-ConnectionBroker] <String>] [<CommonParameters>]Copied 0 timesPowerShellModifies configuration settings for a RemoteApp program.
Set-RDRemoteApp [-CollectionName] <String> -Alias <String> [-DisplayName <String>] [-FilePath <String>]
[-FileVirtualPath <String>] [-ShowInWebAccess <Boolean>] [-FolderName <String>]
[-CommandLineSetting <CommandLineSettingValue>] [-RequiredCommandLine <String>] [-UserGroups <String[]>]
[-IconPath <String>] [-IconIndex <String>] -VirtualDesktopName <String> [-ConnectionBroker <String>]
[<CommonParameters>]Copied 0 timesPowerShellChanges whether to publish a Remote Desktop to a collection.
Set-RDRemoteDesktop [-CollectionName] <String> [-ShowInWebAccess] <Boolean> [-ConnectionBroker <String>]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesPowerShellModifies configuration options for an existing session collection.
Set-RDSessionCollectionConfiguration [-CollectionName] <String> [-DisableUserProfileDisk]
[-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellConfigures one or more RD Session Host servers in a session collection.
Set-RDSessionHost [-SessionHost] <String[]> [-NewConnectionAllowed] <RDServerNewConnectionAllowed>
[-ConnectionBroker <String>] [<CommonParameters>]Copied 0 timesPowerShellChanges 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 times