My most useful 8 liner yet
In my line of work, Iām constantly copying and pasting from e-mails, SharePoint, into PowerShell to do some meaningful work. Ā This means all day long Iām setting variables equal to paste, then removing blank entries, and then splitting them (because people never say āplease migrate these computersā and provide a list like $computers=ācompAā,ācompBā,ācompCā.
Continue Reading...Using Try Catch to get Better Output in your Functions and Tables
Recently at a client, we have a situation arise in which we needed to verify which Domain a number of PCs were joined to.
Continue Reading...Thank you ScriptingWife!
When I heard that Don Jones brought a few thousand copies of The DSC Book, which I contributed to, as give-aways for this yearās PowerShell summit, Ā I was ecstatic to be printed! Ā And I really wanted to have a copy of the book. Ā Unfortunately, they ran out very quickly, and Don informed me that we had no more available.
Continue Reading...Quick Fix : Registry key to disable Hardware Graphic acceleration for Office
Hope this helps guys!
Continue Reading...Using Try/Catch efficiently over a large list of commands
If you want to try catch over multiple commands, try this. Weāre using the Invoke character to run a number of commands through a single try/catch block because frankly we canāt be bothered to type that much!
Continue Reading...