News

I've been trying to put a small script together to build out XML config files for a product at work. While you can edit the file by hand and file in all the blanks, its pretty big and error-prone ...
Here's how you'd save a PSCredential object to a file: Get-Credential | Export-CliXml -Path MyCredential.xml That's it! I'll now look at the XML file generated. Notice that the username (userhere) is ...
For example, if you are going to run any PowerShell scripts make sure you have copied the script along with the XML file. Exporting Tasks only export the Task Scheduler task configurations.
Trying to build a report on how much time did a particular user spend logged into a terminal server over a period. The server is only accessible via a gateway, so I'm guessing that the disconnect ...