Wednesday, January 10, 2018
Monday, January 8, 2018
Friday, January 5, 2018
- Check the current session and select Delete. This will close the disconnected session.
- Click New Session to open a fresh session.
- Click PSWA1. This is your disconnected session. (You can have multiple disconnected sessions.)
Wednesday, January 3, 2018
Monday, November 6, 2017
We have a target of E:\Mod01. Here is the command.
The CIM_Directory class has all that we need. The filter of 'E:\\Mod01' is not a typo. We need to escape the backslash with another backslash. This isolate the target so we do not compress other folders. This object is passed to Invoke-CimMethod where we call the Compress method.