C:\AWS\aws-ec2-ebs-automatic-snapshot-powershell-master>powershell.exe -Executio
nPolicy Bypass -file "C:\aws\3-ebs-snapshot.ps1"
You must provide a value expression on the right-hand side of the '-' operator.
At C:\aws\3-ebs-snapshot.ps1:111 char:102
$Disk = Get-WmiObject -Class Win32LogicalDiskToPartition | Where
-Object {$.Antecedent - <<<< in $D2P.Dependent} | %{
I'm getting this.
C:\AWS\aws-ec2-ebs-automatic-snapshot-powershell-master>powershell.exe -Executio nPolicy Bypass -file "C:\aws\3-ebs-snapshot.ps1" You must provide a value expression on the right-hand side of the '-' operator. At C:\aws\3-ebs-snapshot.ps1:111 char:102