< Back
New-SharedPCAccountManagerPolicyObject
Post
NAME New-SharedPCAccountManagerPolicyObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.sharedPCAccountManagerPolicy" (or one of its derived
types).
SYNTAX
New-SharedPCAccountManagerPolicyObject [-accountDeletionPolicy <string>] [-cacheAccountsAboveDiskFreePercentage
<int>] [-inactiveThresholdDays <int>] [-removeAccountsBelowDiskFreePercentage <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.sharedPCAccountManagerPolicy" (or one of its derived
types).
PARAMETERS
-accountDeletionPolicy <string>
The "accountDeletionPolicy" property, of type "microsoft.graph.sharedPCAccountDeletionPolicyType".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Configures when accounts are deleted.
Valid values: 'immediate', 'diskSpaceThreshold', 'diskSpaceThresholdOrInactiveThreshold'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-cacheAccountsAboveDiskFreePercentage <int>
The "cacheAccountsAboveDiskFreePercentage" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC
accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or
DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-inactiveThresholdDays <int>
The "inactiveThresholdDays" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Specifies when the accounts will start being deleted when they have not been logged on during the specified
period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or
DiskSpaceThresholdOrInactiveThreshold.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-removeAccountsBelowDiskFreePercentage <int>
The "removeAccountsBelowDiskFreePercentage" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space.
Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is
DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Creates a new object which represents a "microsoft.graph.sharedPCAccountManagerPolicy" (or one of its derived
types).
SYNTAX
New-SharedPCAccountManagerPolicyObject [-accountDeletionPolicy <string>] [-cacheAccountsAboveDiskFreePercentage
<int>] [-inactiveThresholdDays <int>] [-removeAccountsBelowDiskFreePercentage <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.sharedPCAccountManagerPolicy" (or one of its derived
types).
PARAMETERS
-accountDeletionPolicy <string>
The "accountDeletionPolicy" property, of type "microsoft.graph.sharedPCAccountDeletionPolicyType".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Configures when accounts are deleted.
Valid values: 'immediate', 'diskSpaceThreshold', 'diskSpaceThresholdOrInactiveThreshold'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-cacheAccountsAboveDiskFreePercentage <int>
The "cacheAccountsAboveDiskFreePercentage" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC
accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or
DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-inactiveThresholdDays <int>
The "inactiveThresholdDays" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Specifies when the accounts will start being deleted when they have not been logged on during the specified
period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or
DiskSpaceThresholdOrInactiveThreshold.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-removeAccountsBelowDiskFreePercentage <int>
The "removeAccountsBelowDiskFreePercentage" property, of type "Edm.Int32".
This property is on the "microsoft.graph.sharedPCAccountManagerPolicy" type.
Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space.
Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is
DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS