Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Sign All the Scripts in a FolderContent of Sign All the Scripts in a Folder.vbsMD5 Hash: 11D1703A97761CD47A45EF4FA26EDBCC |
||
' Description: Uses the Scripting Runtime Signer object to digitally sign all the scripts in a folder. Requires a valid digital certificate.
Set objSigner = WScript.CreateObject("Scripting.Signer") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder("c:\scripts") Set colListOfFiles = objFolder.Files For Each objFile in colListOfFiles objSigner.SignFile objFile.Path, "IT Department" Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |