Mar 03 2021 09:44 PM
Hello Geeks,
I'm not familiar with powershell, Can somebody help me to understand this command please. why and where and when this command will be used.
"powershell.exe -ExecutionPolicy Restricted -Command "$Res = 0; $VDisks = (Get-VirtualDisk | Where-Object ResiliencySettingName -eq Parity); if ($null -ne $VDisks) { $Res = 1 }; Write-Host 'Final result:',$Res;]"
Best Regards,
Kumar
Mar 04 2021 06:16 AM