I am trying to get this in the allowed command file instead of having to put in an "*".
NTAP_SNAPSHOT_CREATE_CMD02="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Import-Module SnapDrive;Set-SdSnapshot -Snapshot %SNAME-%SNAP_TYPE_%SNAP_TIME -StorageSystem TEST -VolumeName TEST-SnapMirrorLabel Daily
The command completes just fine with "*"
I have tried "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" without quotes added -Command several things.
Any assistance would be greatly appreciated.