Apr 08

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.