When I ran the above as a scheduled task the output I would get for $foo is Bar1 bar2/ Bar3 When I ran the below as a […]
Tag: powershell
Get Remote Registry values from a range of servers
Powershell script to query multiple servers for their Local Machine Run Registry Keys
Delete Items from a specific folder with Exchange Powershell EWS within Date Range
Below is the command to extract ( Archive ) emails from a particular folder into a PST However due to Exchange updates , the MailboxExport command does […]
Batch Import Public Holidays into All Users Mailboxes with Exchange EWS Powershell
I based this script off of one referenced here : http://blogs.msdn.com/b/emeamsgdev/archive/2012/10/29/outlook-code-importing-bank-holidays-from-an-outlook-hol-based-csv-file.aspx?CommentPosted=true#commentmessageCSV FormatHowever I modified Adding a Category to the item, as well as adding this to All Users […]
Total Expired Computers List not Move via PwdLastSet
I was trying to get a list of Active Computers on our Network. A DSQuery can give me a list of all computer , and I tried […]
Get a recursive list of files which have been modified before a certain period of time
Recently I rolled out an updated to Update the styles inside Word for Normal.dot. The update only updated the styles and did not change the autotext etc. […]
Find Old Inactive or Active Computer and User Accounts in Active Directory through DSQuery/Powershell
Azure AD -> https://pariswells.com/blog/research/find-old-inactive-computerdevices-and-user-accounts-in-azure-active-directory **SolarWinds make a free tool GUI for this : http://downloads.solarwinds.com/solarwinds/Release/FreeTool/SolarWinds-Freetools-MS-Mini-Utilities.zip *****More AD Cleaup Tools http://www.adaxes.com/blog/cleanup-active-directory-with-powershell.html You can run these commands in a command prompt […]