When I make a shadow copy with gwmi, It says WMI method exception: $lastuser = (get-itemproperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI").LastLoggedOnUser When use get-itemproperty to fetch the last user out of the registry, it returns null. It technically does run the script, but there are a few things that just flat out don't work in it. We've just recently moved from Labtech to Kaseya VSA, and i am trying to get its scripting engine to run a powershell script.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |