Import Power-time scheme

#ImportPowerTimeScheme <Uid> <FileScheme>
$PowerTimes = Get-BrokerPowerTimeScheme
Foreach ($PowerTime in $PowerTimes)
{
$file=”path”
$file+=$PowerTime.Uid
$file+=”.txt”
$Content=Get-Content $file
Set-BrokerPowerTimeScheme $PowerTime.uid -PoolSize $Content
Write-Host -ForegroundColor Green “Enter your txt here”

Leave a Reply

Your email address will not be published.

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