COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Specifies 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 timesWindows ServerTakes a Disk object or unique disk identifiers and a set of attributes, and updates the physical disk on the system.
Set-Disk [-Number] <UInt32> [-IsOffline <Boolean>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerChanges the display resolution for a Server Core server.
Set-DisplayResolution [-Width] <Object> [-Height] <Object> [-Force] [<CommonParameters>]Copied 0 timesWindows ServerSets integrity for a file on an ReFS volume.
Set-FileIntegrity [-FileName] <String> [[-Enable] <Boolean>] [-Enforce <Boolean>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerModifies a file share.
Set-FileShare [-Description <String>] [-EncryptData <Boolean>] -UniqueId <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings for access denied remediation.
Set-FsrmAdrSetting [-Event] <FsrmAdrEventEnum[]> [-Enabled] [-DisplayMessage <String>] [-EmailMessage <String>]
[-AllowRequests] [-MailToOwner] [-MailCCAdmin] [-MailTo <String>] [-IncludeDeviceClaims] [-IncludeUserClaims]
[-EventLog] [-DeviceTroubleshooting] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings of an auto apply quota.
Set-FsrmAutoQuota [-Path] <String> [-Template <String>] [-Disabled] [-UpdateDerived] [-UpdateDerivedMatching]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings for classification.
Set-FsrmClassification [-InputObject <CimInstance[]>] [-ExcludeNamespace <String[]>] [-Schedule <CimInstance>]
[-Continuous] [-ContinuousLog] [-ContinuousLogSize <UInt64>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges a classification property definition.
Set-FsrmClassificationPropertyDefinition [-Name] <String[]> [-DisplayName <String>] [-Description <String>]
[-PossibleValue <CimInstance[]>] [-Parameters <String[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings of classification rules.
Set-FsrmClassificationRule [-Name] <String[]> [-Description <String>] [-Property <String>]
[-PropertyValue <String>] [-Namespace <String[]>] [-Disabled]
[-ReevaluateProperty <RuleReevaluatePropertyEnum>] [-Flags <RuleFlagsEnum[]>]
[-ContentRegularExpression <String[]>] [-ContentString <String[]>] [-ContentStringCaseSensitive <String[]>]
[-ClassificationMechanism <String>] [-Parameters <String[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings for file groups.
Set-FsrmFileGroup [-Name] <String[]> [-Description <String>] [-IncludePattern <String[]>]
[-ExcludePattern <String[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings of a file screen.
Set-FsrmFileScreen [-Path] <String> [-Description <String>] [-IncludeGroup <String[]>] [-Active]
[-Notification <CimInstance[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings of a file screen template.
Set-FsrmFileScreenTemplate [-Name] <String[]> [-Description <String>] [-IncludeGroup <String[]>] [-Active]
[-UpdateDerived] [-UpdateDerivedMatching] [-Notification <CimInstance[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges the setting of a management property.
Set-FsrmMgmtProperty [-Namespace <String>] [-Name <String>] [-Value <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings for a FSRM quota.
Set-FsrmQuota [-Path] <String> [-Description <String>] [-Size <UInt64>] [-SoftLimit] [-Disabled]
[-Threshold <CimInstance[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges configuration settings for FSRM quota templates.
Set-FsrmQuotaTemplate [-Name] <String[]> [-Description <String>] [-Size <UInt64>] [-SoftLimit] [-UpdateDerived]
[-UpdateDerivedMatching] [-Threshold <CimInstance[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerChanges global FSRM settings for the computer.
Set-FsrmSetting [-InputObject <CimInstance[]>] [-SmtpServer <String>] [-FromEmailAddress <String>]
[-AdminEmailAddress <String>] [-EmailNotificationLimit <Int32>] [-EventNotificationLimit <Int32>]
[-CommandNotificationLimit <Int32>] [-ReportNotificationLimit <Int32>] [-ReportLimitMaxFile <Int32>]
[-ReportLimitMaxFileGroup <Int32>] [-ReportLimitMaxOwner <Int32>] [-ReportLimitMaxFilesPerFileGroup <Int32>]
[-ReportLimitMaxFilesPerOwner <Int32>] [-ReportLimitMaxFilesPerDuplicateGroup <Int32>]
[-ReportLimitMaxDuplicateGroup <Int32>] [-ReportLimitMaxQuota <Int32>]
[-ReportLimitMaxFileScreenEvent <Int32>] [-ReportLimitMaxPropertyValue <Int32>]
[-ReportLimitMaxFilesPerPropertyValue <Int32>] [-ReportLocationIncident <String>]
[-ReportLocationScheduled <String>] [-ReportLocationOnDemand <String>]
[-ReportFileScreenAuditDaysSince <Int32>] [-ReportFileScreenAuditUser <String[]>]
[-ReportFileGroupIncluded <String[]>] [-ReportFileOwnerUser <String[]>] [-ReportFileOwnerFilePattern <String>]
[-ReportPropertyName <String>] [-ReportPropertyFilePattern <String>] [-ReportLargeFileMinimum <UInt64>]
[-ReportLargeFilePattern <String>] [-ReportLeastAccessedMinimum <Int32>]
[-ReportLeastAccessedFilePattern <String>] [-ReportMostAccessedMaximum <Int32>]
[-ReportMostAccessedFilePattern <String>] [-ReportQuotaMinimumUsage <Int32>] [-ReportFileScreenAuditEnable]
[-ReportClassificationFormat <FsrmReportClassificationFormatEnum[]>] [-ReportClassificationMailTo <String>]
[-ReportClassificationLog <FsrmReportClassificationLogEnum[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerSets the Host Guardian Service server configuration.
Set-HgsServer [-Http] [-Https] [-HttpPort <UInt16>] [-HttpsPort <UInt16>]
[-HttpsCertificateThumbprint <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesWindows ServerSets property values for the IIS central certificate store.
Set-IISCentralCertProvider [-CertStoreLocation <String>] [-UserName <String>] [-Password <SecureString>]
[-PrivateKeyPassword <SecureString>] [<CommonParameters>]Copied 0 timesWindows ServerModifies the user account credentials for the IIS certificate store.
Set-IISCentralCertProviderCredential [-UserName] <String> [<CommonParameters>]Copied 0 timesWindows ServerSets attributes of a partition, such as active, read-only, and offline states.
Set-Partition [-IsReadOnly <Boolean>] [-NoDefaultDriveLetter <Boolean>] [-IsActive <Boolean>]
[-IsHidden <Boolean>] [-IsShadowCopy <Boolean>] [-IsDAX <Boolean>] [-MbrType <UInt16>] [-GptType <String>]
-DriveLetter <Char> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesWindows ServerSets attributes on a specific physical disk.
Set-PhysicalDisk [-NewFriendlyName <String>] [-Description <String>] [-Usage <Usage>] [-MediaType <MediaType>]
[-FriendlyName] <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 times