Please ignore previous post. I needed to setup execution policy.
Thanks a lot.
it looks like you have edited my script and break signature. Re-download the script and run the command:
this command will not execute the script, but attach contained functions to a PowerShell session (this operation is known as dot-sourcing). Therefore you should type dot, space and path to a file.
Thank you for doing great job. when i try to run the script i am getting following error:
PS C:\> .\OpsMgrCertMgmt.ps1
File C:\OpsMgrCertMgmt.ps1 cannot be loaded. The contents of file C:\OpsMgrCertMgmt.ps1 may have been tampered because
the hash of the file does not match the hash stored in the digital signature. The script will not execute on the system
. Please see "get-help about_signing" for more details..
At line:1 char:21
+ .\OpsMgrCertMgmt.ps1 <<<<
+ CategoryInfo : NotSpecified: (:) , PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
Thanks Vadims very useful and interesting article!
© 2008 - 2019 - Sysadmins LV. All rights reserved