Fixed Invoke-WmiCommand credential popup issue

Easy fix to issue #97
This commit is contained in:
Matt Graeber 2015-12-16 08:50:34 -08:00
parent fef09e6cc1
commit fdcdeab702
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ the output of your payload back. :P
[Management.Automation.PSCredential]
[Management.Automation.CredentialAttribute()]
$Credential,
$Credential = [Management.Automation.PSCredential]::Empty,
[Management.ImpersonationLevel]
$Impersonation,