Export Power-time schemes for all desktop groups

#Export Powertime scheme
$PowerTimes = Get-BrokerPowerTimeScheme

new-item -Path “path”  -ItemType directory
Foreach ($PowerTime in $PowerTimes)
{
$file= “path”
$file+=$PowerTime.Uid
$file+=”.txt”
echo $PowerTime.PoolSize | Out-file $file

}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.