Home Dashboard Directory Help

Get-AuthenticodeSignature works on .ps1 and .exe but not on .vbs by BZanten


Status: 

Active


4
1
Sign in
to vote
Type: Bug
ID: 332314
Opened: 3/10/2008 12:52:38 AM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

I have a repository with a large set of (signed) .vbs scripts. I use a
script (vbscript) CheckSigns.vbs to recursively loop through the
directories and check each file if it is signed.
This is not quite performing, so I tried to re-write this in Powershell.
However, for .vbs files the get-authenticodesignature cmdlet says they are
unsigned. THIS IS INCORRECT.
The command line tool: signtool.exe DOES show they are signed.
The cmdlet works OK for .exe and .ps1 files.
Details
Sign in to post a comment.
Posted by Microsoft Connect on 1/29/2010 at 2:08 PM
Your bug has not been fixed in PowerShell 2.0. However we have kept the bug active for next version
Posted by Microsoft Connect on 1/29/2010 at 2:04 PM
Your bug has not been fixed in PowerShell 2.0. However we have kept the bug active for next version
Posted by Microsoft Connect on 1/29/2010 at 2:00 PM
Your bug has not been fixed in PowerShell 2.0. However we have kept the bug active for next version
Posted by Microsoft Connect on 1/29/2010 at 1:55 PM
Your bug has not been fixed in PowerShell 2.0. However we have kept the bug active for next version
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
BugGetAuthenticodeSignature.txt (restricted) 3/10/2008 -