<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-2816250587121752680</atom:id><lastBuildDate>Thu, 19 Dec 2024 03:18:55 +0000</lastBuildDate><category>Administration</category><category>Active Directory</category><category>Automation</category><category>network</category><category>Powershell</category><category>AD</category><category>XP</category><category>How To</category><category>Active Server Roles</category><category>Learn</category><category>ARS</category><category>Automation Active Directory Powershell AD Administration network</category><category>Quest</category><category>SolarWinds</category><category>Storage Manager</category><category>administrator</category><category>howto</category><category>networks admin</category><category>Tips &amp; Tricks</category><category>Vmware</category><category>WorkStation</category><category>desktop</category><category>lab</category><category>raspberry pi</category><category>airwatch</category><category>dhcp</category><category>emc</category><category>install</category><category>microsoft</category><category>packet</category><category>rouge</category><category>router</category><category>virtual</category><category>wireshark</category><category>Windows Agent</category><category>android</category><category>ashur</category><category>networking</category><category>rouge router</category><category>smartphone</category><category>smi-s</category><category>windows 7</category><category>2</category><category>365</category><category>BATCH</category><category>CCNA</category><category>Chrome</category><category>ChromeOS</category><category>Course 55039A</category><category>Design</category><category>Google</category><category>Group</category><category>Hardware</category><category>How do you measure Network Availability</category><category>IOS</category><category>Identity</category><category>Installing</category><category>Measure</category><category>Misc</category><category>NetApp</category><category>Network Availability</category><category>OS</category><category>PRINT SERVER</category><category>Protect</category><category>Protect Your Identity For Free</category><category>Raid</category><category>Server</category><category>WannaCry</category><category>Websites</category><category>Windows PowerShell Scripting and Toolmaking</category><category>addons</category><category>band 2</category><category>belkin</category><category>best</category><category>blackberry</category><category>boot</category><category>capsa</category><category>cisco</category><category>clariion</category><category>colasoft</category><category>config t</category><category>configure</category><category>du -sh</category><category>encrypt</category><category>error</category><category>free</category><category>fun</category><category>grep</category><category>guliana</category><category>heart rate</category><category>ipad</category><category>iphone</category><category>kindle</category><category>kodi</category><category>lazy</category><category>linux</category><category>loopback</category><category>ls –lSr</category><category>mi</category><category>mi band 2</category><category>n300</category><category>n450</category><category>n600</category><category>outage</category><category>overview</category><category>provider</category><category>ps aux | grep stuff</category><category>recovery</category><category>remove yourself from online.</category><category>robocopy</category><category>security freeze</category><category>server 2008</category><category>speach</category><category>speak</category><category>splunk</category><category>startup</category><category>steps</category><category>sudo</category><category>tablet</category><category>tech support</category><category>text</category><category>ttl</category><category>unable to connect to the internet</category><category>virtualbox</category><category>vittualbox</category><category>vnx</category><category>voice</category><category>wbapps</category><category>wearable</category><category>wifi</category><category>windows</category><category>xbmc</category><category>xiaomi</category><title>Systems Management &amp;amp; Automation</title><description>by Alphnix</description><link>http://ashurguliana.blogspot.com/</link><managingEditor>noreply@blogger.com (Ashur Guliana)</managingEditor><generator>Blogger</generator><openSearch:totalResults>224</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-5768613750171495716</guid><pubDate>Tue, 05 Dec 2017 17:23:00 +0000</pubDate><atom:updated>2017-12-05T11:23:39.527-06:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Hardware</category><category domain="http://www.blogger.com/atom/ns#">networking</category><category domain="http://www.blogger.com/atom/ns#">Raid</category><category domain="http://www.blogger.com/atom/ns#">Server</category><title>Simple RAID Cheat Sheet</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;background-color: white; font-family: Calibri; font-size: 36px; font-stretch: normal; line-height: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Simple RAID Cheat Sheet&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; font-family: &amp;quot;Droid Sans&amp;quot;; font-size: 14.4px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-3901596829127803&quot; style=&quot;background-color: white; font-family: &amp;quot;Droid Sans&amp;quot;; font-size: 17.6px; line-height: 1.4; position: relative; width: 908px;&quot;&gt;
&lt;table _mce_style=&quot;border-collapse: collapse; width: 597px;&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; cursor: default; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, &amp;quot;Bitstream Charter&amp;quot;, Times, serif; font-size: 13px; line-height: 19px; width: 597px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Level&lt;/strong&gt;&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Redundancy&lt;/strong&gt;&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Disk Required&lt;/strong&gt;&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Faster Reads&lt;/strong&gt;&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;&lt;strong&gt;Faster Writes&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;RAID 0&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;N&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;RAID 1&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;2&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;RAID 5&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;N+1&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;RAID 10&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;N*2&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;JBOD&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;N/A&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;td _mce_style=&quot;margin: 0; padding: 3px;&quot; style=&quot;cursor: text; font-size: 11px; margin: 0px; padding: 3px;&quot; valign=&quot;top&quot;&gt;No&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/12/simple-raid-cheat-sheet.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-1732213010790636630</guid><pubDate>Thu, 10 Aug 2017 17:24:00 +0000</pubDate><atom:updated>2017-08-10T12:24:58.864-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">Active Server Roles</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Automation Active Directory Powershell AD Administration network</category><title>How to Handle a Terminated Employee’s Email</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;b&gt;How to Handle a Terminated Employee’s Email&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Change the former employee’s password&lt;/li&gt;
&lt;li&gt;Choose who will handle any future emails addressed to the former employee&lt;/li&gt;
&lt;li&gt;Setup an auto respond to reply to incoming emails&lt;/li&gt;
&lt;li&gt;Setup a filter to forward emails to the employee’s replacement&lt;/li&gt;
&lt;li&gt;Wait for a set amount of time (2 weeks to 1 month)&lt;/li&gt;
&lt;li&gt;Backup and delete the former employee’s account&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: &amp;quot;Varela Round&amp;quot;, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin: 30px 0px 10px;&quot;&gt;
Process Process Process.........&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Change the Former Employee’s Password&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Hopefully this goes without saying, but your absolute first step should be changing the former employee’s password.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Determine the Former Employee’s Replacement&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
If applicable, choose who will be responsible for handling any future emails that are sent to the former employee’s email address. In the steps below, we’ll make the introduction to this person, as well as forward them any emails the former employee receives.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Setup an Auto&amp;nbsp;response&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
In most cases, the biggest challenge to overcome is making sure that any of the former employee’s contacts know that the former employee is no longer with the company, and more importantly who at the company they should contact in the future (the person you chose in step 1.)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
To accomplish this, I find it easiest to create an auto respond (or vacation response in Gmail) for anyone that emails the former employee. I include a couple of lines similar to the following:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thank you for contacting (company name). We regret to inform you that (former employee) is no longer employed here. Please direct any future correspondence to (person responsible) at (person responsible’s email and/or phone).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Best Regards&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This is an automated reply. For your convenience, this email has been automatically forwarded to (person responsible).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Setup a Filter to Forward Emails&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
While you’re setting up the autoresponder, go ahead and create a new filter that will forward the incoming emails to whomever you chose as a replacement for the former employee.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Set a Reminder to Delete the Account&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Pick a date in the near future when you think it’s safe to delete the former employee’s email account. The amount of time might vary based on the company, their industry, client base, etc., but I usually wait anywhere from two weeks to a month.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Set a reminder for yourself so you don’t forget.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Backup and Delete the Account&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
When your target date arrives make a backup of the former employee’s account, inbox, etc. if necessary (just do it. disk space is cheap, and having a backup when you need one is priceless!)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
At this point, all of your bases should be covered and it should be safe for you to delete the former employee’s email account.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: &amp;quot;Varela Round&amp;quot;, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin: 30px 0px 10px;&quot;&gt;
Process Process Process.........&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/08/how-to-handle-terminated-employees-email.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-8932384103044457020</guid><pubDate>Thu, 15 Jun 2017 17:32:00 +0000</pubDate><atom:updated>2017-06-15T12:32:24.398-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">Active Server Roles</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Automation Active Directory Powershell AD Administration network</category><title>Powershell -  Get list of all &quot;Full Mailbox Access by a User&quot;</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,sans-serif;&quot;&gt;&lt;b&gt;Powershell - &amp;nbsp;Get list of all &quot;Full Mailbox Access by a User&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,sans-serif;&quot;&gt;Get-Mailbox
-ResultSize unlimited | Get-MailboxPermission | where { ($_.AccessRights -eq
“FullAccess”) -and ($_.IsInherited -eq $false) -and ($_.User -like
“ACME\BBunny”) } | Export-CSV &amp;nbsp;C:\FullMailBoxAccess.csv&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/06/powershell-get-list-of-all-full-mailbox.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-5485721445398167933</guid><pubDate>Thu, 18 May 2017 15:25:00 +0000</pubDate><atom:updated>2017-05-18T10:25:43.876-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">airwatch</category><category domain="http://www.blogger.com/atom/ns#">Vmware</category><title>VMware AirWatch Professional Accreditation: Enterprise Mobility</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MWhd3ByyPFsVMxZSIw8Rz2cWkyQc4XyxK3DhQSu0fY4Ckisajt3TNY7alqnVW_V8F_T93vujic67RziFp3p_OawRMktu75QTnNSzcrH9cHtMrdj_S-T4GV1oDCpLUDq-QC81AqqeiVga/s1600/VMware+AirWatch+Professional+Accreditation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MWhd3ByyPFsVMxZSIw8Rz2cWkyQc4XyxK3DhQSu0fY4Ckisajt3TNY7alqnVW_V8F_T93vujic67RziFp3p_OawRMktu75QTnNSzcrH9cHtMrdj_S-T4GV1oDCpLUDq-QC81AqqeiVga/s320/VMware+AirWatch+Professional+Accreditation.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/05/vmware-airwatch-professional.html</link><author>noreply@blogger.com (Ashur Guliana)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MWhd3ByyPFsVMxZSIw8Rz2cWkyQc4XyxK3DhQSu0fY4Ckisajt3TNY7alqnVW_V8F_T93vujic67RziFp3p_OawRMktu75QTnNSzcrH9cHtMrdj_S-T4GV1oDCpLUDq-QC81AqqeiVga/s72-c/VMware+AirWatch+Professional+Accreditation.JPG" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-6469800746061597363</guid><pubDate>Thu, 18 May 2017 15:23:00 +0000</pubDate><atom:updated>2017-05-18T10:23:26.966-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">airwatch</category><category domain="http://www.blogger.com/atom/ns#">Vmware</category><title>VMware AirWatch Associate Accreditation: Enterprise Mobility</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikHmYlENDYZ-Kb0wM0sweMeW8xuvO6pr9GsM3h_eeLA_FALj9OZAFWEzzNSqhSsNwNrLfXFoyIk7axM0l63HKRycO53dcI105NBgCgAN3t1ifdsAAejb_eBUgjewO2fKsUXLatvB6rGs1K/s1600/VMware+AirWatch+Associate+Accreditation.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikHmYlENDYZ-Kb0wM0sweMeW8xuvO6pr9GsM3h_eeLA_FALj9OZAFWEzzNSqhSsNwNrLfXFoyIk7axM0l63HKRycO53dcI105NBgCgAN3t1ifdsAAejb_eBUgjewO2fKsUXLatvB6rGs1K/s320/VMware+AirWatch+Associate+Accreditation.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/05/vmware-airwatch-associate-accreditation.html</link><author>noreply@blogger.com (Ashur Guliana)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikHmYlENDYZ-Kb0wM0sweMeW8xuvO6pr9GsM3h_eeLA_FALj9OZAFWEzzNSqhSsNwNrLfXFoyIk7axM0l63HKRycO53dcI105NBgCgAN3t1ifdsAAejb_eBUgjewO2fKsUXLatvB6rGs1K/s72-c/VMware+AirWatch+Associate+Accreditation.JPG" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-3214964938103992743</guid><pubDate>Mon, 15 May 2017 20:57:00 +0000</pubDate><atom:updated>2017-05-15T15:57:18.220-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">airwatch</category><category domain="http://www.blogger.com/atom/ns#">Vmware</category><title>VMware AirWatch - Bootcamp Certification</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Certification of Completion is hereby granted to in recognition of successful participation in&lt;br /&gt;
&lt;br /&gt;
Ashur Guliana&lt;br /&gt;
VMware AirWatch: Bootcamp&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7vNPoYQtPjXdw_FrY1gTL-6m5hepR6xMpgM1tFzr_je_IBo5_VUbcLyLCPfEmJ4uAxBLXyN3tkSUuTYYh6nk3wXG7g9ksnKJVSJoKlxXhWm42kSC05_whZtSXoy24VnKk8xP6uu3ZAwK5/s1600/Airwatch.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7vNPoYQtPjXdw_FrY1gTL-6m5hepR6xMpgM1tFzr_je_IBo5_VUbcLyLCPfEmJ4uAxBLXyN3tkSUuTYYh6nk3wXG7g9ksnKJVSJoKlxXhWm42kSC05_whZtSXoy24VnKk8xP6uu3ZAwK5/s320/Airwatch.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/05/vmware-airwatch-bootcamp-certification.html</link><author>noreply@blogger.com (Ashur Guliana)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7vNPoYQtPjXdw_FrY1gTL-6m5hepR6xMpgM1tFzr_je_IBo5_VUbcLyLCPfEmJ4uAxBLXyN3tkSUuTYYh6nk3wXG7g9ksnKJVSJoKlxXhWm42kSC05_whZtSXoy24VnKk8xP6uu3ZAwK5/s72-c/Airwatch.JPG" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-417569125999097781</guid><pubDate>Mon, 15 May 2017 20:53:00 +0000</pubDate><atom:updated>2017-05-15T15:53:23.481-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">administrator</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Automation Active Directory Powershell AD Administration network</category><category domain="http://www.blogger.com/atom/ns#">rouge</category><category domain="http://www.blogger.com/atom/ns#">WannaCry</category><title>Powershell - hotfixes WannaCry</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-color: white; border-radius: 3px; border: 0px; line-height: 21px; padding: 0px 10px 10px; word-break: break-all;&quot;&gt;&lt;h2 style=&quot;border-radius: 3px; border: 0px; line-height: 21px; padding: 0px 10px 10px; text-align: left; word-break: break-all;&quot;&gt;
&lt;span style=&quot;color: #4a4a4a; font-family: Consolas, Lucida Console, monospace; font-size: large;&quot;&gt;Powershell - hotfixes WannaCry&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px;&quot;&gt;
&lt;b style=&quot;font-size: 12px;&quot;&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;border-radius: 3px; border: 0px; color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 21px; padding: 0px 10px 10px; text-align: left; word-break: break-all;&quot;&gt;
&lt;b style=&quot;font-size: 12px;&quot;&gt;List of all the hotfixes from Microsoft&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;https://technet.microsoft.com/en-us/library/security/ms17-010.aspx&quot;&gt;https://technet.microsoft.com/en-us/library/security/ms17-010.aspx&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;border-radius: 3px; border: 0px; color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 21px; padding: 0px 10px 10px; text-align: left; word-break: break-all;&quot;&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-radius: 3px; border: 0px; color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 21px; padding: 0px 10px 10px; text-align: left; word-break: break-all;&quot;&gt;$hotfixes = &quot;KB3205409&quot;, &quot;KB3210720&quot;, &quot;KB3210721&quot;, &quot;KB3212646&quot;, &quot;KB3213986&quot;, &quot;KB4012212&quot;, &quot;KB4012213&quot;, &quot;KB4012214&quot;, &quot;KB4012215&quot;, &quot;KB4012216&quot;, &quot;KB4012217&quot;, &quot;KB4012218&quot;, &quot;KB4012220&quot;, &quot;KB4012598&quot;, &quot;KB4012606&quot;, &quot;KB4013198&quot;, &quot;KB4013389&quot;, &quot;KB4013429&quot;, &quot;KB4015217&quot;, &quot;KB4015438&quot;, &quot;KB4015546&quot;, &quot;KB4015547&quot;, &quot;KB4015548&quot;, &quot;KB4015549&quot;, &quot;KB4015550&quot;, &quot;KB4015551&quot;, &quot;KB4015552&quot;, &quot;KB4015553&quot;, &quot;KB4015554&quot;, &quot;KB4016635&quot;, &quot;KB4019213&quot;, &quot;KB4019214&quot;, &quot;KB4019215&quot;, &quot;KB4019216&quot;, &quot;KB4019263&quot;, &quot;KB4019264&quot;, &quot;KB4019472&quot;, &quot;KB4015221&quot;, &quot;KB4019474&quot;, &quot;KB4015219&quot;, &quot;KB4019473&quot;

#checks the computer it&#39;s run on if any of the listed hotfixes are present
$hotfix = Get-HotFix -ComputerName $env:computername | Where-Object {$hotfixes -contains $_.HotfixID} | Select-Object -property &quot;HotFixID&quot;

#confirms whether hotfix is found or not
if (Get-HotFix | Where-Object {$hotfixes -contains $_.HotfixID})
{
&quot;Found HotFix: &quot; + $hotfix.HotFixID
} else {
&quot;Didn&#39;t Find HotFix&quot;
}&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/05/powershell-hotfixes-wannacry.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-5375595655976568561</guid><pubDate>Mon, 15 May 2017 20:48:00 +0000</pubDate><atom:updated>2017-05-15T15:48:34.936-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">administrator</category><category domain="http://www.blogger.com/atom/ns#">ashur</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">Automation Active Directory Powershell AD Administration network</category><category domain="http://www.blogger.com/atom/ns#">windows 7</category><title>Powershell - Admin credentials</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Powershell - Admin credentials&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; border-radius: 3px; border: 0px; color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 21px; padding: 0px 10px 10px; word-break: break-all;&quot;&gt;Read-Host &quot;Enter Password&quot; | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File &quot;\\DomainName\netlogon\cred.txt&quot;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: white; border-radius: 3px; border: 0px; color: #4a4a4a; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 21px; padding: 0px 10px 10px; word-break: break-all;&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Add these next lines to the beginning of scripts&lt;/b&gt;&lt;/h3&gt;
$pass = get-content &quot;\\DomainName\netlogon\creds.txt&quot; | ConvertTo-SecureString
$credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist &quot;DomainName\administrator&quot;,$pass
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2017/05/powershell-admin-credentials.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-8320437542202079098</guid><pubDate>Wed, 19 Oct 2016 21:23:00 +0000</pubDate><atom:updated>2016-10-19T16:23:28.566-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>PowerShell - scheduled task to hide users disabled in AD from the Global Address List</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px;&quot;&gt;&lt;b&gt;&amp;nbsp;daily scheduled task to hide users disabled in AD from the Global Address List&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$mailboxes = get-user | where {$_.UserAccountControl -like &#39;*AccountDisabled*&#39; -and $_.RecipientType -eq &#39;UserMailbox&#39; } | get-mailbox &amp;nbsp;| where {$_.HiddenFromAddressListsEnabled -eq $false}&lt;br /&gt;
&lt;br /&gt;
foreach ($mailbox in $mailboxes) { Set-Mailbox -HiddenFromAddressListsEnabled $true -Identity $mailbox }&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/10/powershell-scheduled-task-to-hide-users.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-3631799108753440740</guid><pubDate>Wed, 19 Oct 2016 20:55:00 +0000</pubDate><atom:updated>2016-10-19T15:55:50.293-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - Export Printer Information to and Excel document</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Export Printer Information to and Excel document&lt;/h2&gt;
&lt;br /&gt;
Have Fun... lots of tricks here &amp;nbsp;:)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Param (&lt;br /&gt;
&amp;nbsp; &amp;nbsp; [string]$Printservers = &quot;PRINTSERVER&quot;&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
# Create new Excel workbook&lt;br /&gt;
cls&lt;br /&gt;
$Excel = New-Object -ComObject Excel.Application&lt;br /&gt;
$Excel.Visible = $True&lt;br /&gt;
$Excel = $Excel.Workbooks.Add()&lt;br /&gt;
$Sheet = $Excel.Worksheets.Item(1)&lt;br /&gt;
$Sheet.Name = &quot;Printer Inventory&quot;&lt;br /&gt;
#======================================================&lt;br /&gt;
$Sheet.Cells.Item(1,1) = &quot;Print Server&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,2) = &quot;Printer Name&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,3) = &quot;Location&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,4) = &quot;Comment&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,5) = &quot;IP Address&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,6) = &quot;Driver Name&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,7) = &quot;Driver Version&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,8) = &quot;Driver&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,9) = &quot;Shared&quot;&lt;br /&gt;
$Sheet.Cells.Item(1,10) = &quot;Share Name&quot;&lt;br /&gt;
#=======================================================&lt;br /&gt;
$intRow = 2&lt;br /&gt;
$WorkBook = $Sheet.UsedRange&lt;br /&gt;
$WorkBook.Interior.ColorIndex = 40&lt;br /&gt;
$WorkBook.Font.ColorIndex = 11&lt;br /&gt;
$WorkBook.Font.Bold = $True&lt;br /&gt;
#=======================================================&lt;br /&gt;
&lt;br /&gt;
# Get printer information&lt;br /&gt;
ForEach ($Printserver in $Printservers)&lt;br /&gt;
{ &amp;nbsp; $Printers = Get-WmiObject Win32_Printer -ComputerName $Printserver&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ForEach ($Printer in $Printers)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($Printer.Name -notlike &quot;Microsoft XPS*&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 1) = $Printserver&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 2) = $Printer.Name&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 3) = $Printer.Location&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 4) = $Printer.Comment&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If ($Printer.PortName -notlike &quot;*\*&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; $Ports = Get-WmiObject Win32_TcpIpPrinterPort -Filter &quot;name = &#39;$($Printer.Portname)&#39;&quot; -ComputerName $Printserver&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ForEach ($Port in $Ports)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 5) = $Port.HostAddress&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #################### &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Drivers = Get-WmiObject Win32_PrinterDriver -Filter &quot;__path like &#39;%$($Printer.DriverName)%&#39;&quot; -ComputerName $Printserver&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ForEach ($Driver in $Drivers)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Drive = $Driver.DriverPath.Substring(0,1)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 7) = (Get-ItemProperty ($Driver.DriverPath.Replace(&quot;$Drive`:&quot;,&quot;\\$PrintServer\$Drive`$&quot;))).VersionInfo.ProductVersion&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow,8) = Split-Path $Driver.DriverPath -Leaf&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #################### &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 6) = $Printer.DriverName&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 9) = $Printer.Shared&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $Sheet.Cells.Item($intRow, 10) = $Printer.ShareName&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $intRow ++&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; $WorkBook.EntireColumn.AutoFit() | Out-Null&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$intRow ++&lt;br /&gt;
$Sheet.Cells.Item($intRow,1) = &quot;Printer inventory completed&quot;&lt;br /&gt;
$Sheet.Cells.Item($intRow,1).Font.Bold = $True&lt;br /&gt;
$Sheet.Cells.Item($intRow,1).Interior.ColorIndex = 40&lt;br /&gt;
$Sheet.Cells.Item($intRow,2).Interior.ColorIndex = 40&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/10/powershell-export-printer-information.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-8682540838767987694</guid><pubDate>Thu, 18 Aug 2016 15:01:00 +0000</pubDate><atom:updated>2016-08-18T10:01:42.078-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - Add a picture for a user in AD</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Add a picture for a user in AD&lt;/b&gt;&lt;/h2&gt;
fun and fast...........&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.0pt;&quot;&gt;Set-ADUser&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blueviolet;&quot;&gt;BBunny&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Consolas; font-size: 9.0pt;&quot;&gt;-Replace&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;@{thumbnailPhoto&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Consolas; font-size: 9.0pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 9.0pt;&quot;&gt;[byte[]]&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.0pt;&quot;&gt;Get-Content&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Consolas; font-size: 9.0pt;&quot;&gt;&quot;C:\temp\BBunny.jpg&quot;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Consolas; font-size: 9.0pt;&quot;&gt;-Encoding&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 9.0pt;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;))}&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;you can allways add a bunch of users this way&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 12px;&quot;&gt;$users&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;= @(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&quot;BBunny&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&quot;DDuck&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&quot;TDevil&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&quot;RRabbit&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&quot;MJordon&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;$list += @()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;foreach (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 12px;&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;in &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 12px;&quot;&gt;$users&lt;/span&gt;&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9pt;&quot;&gt;Set-ADUser&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;&lt;span style=&quot;color: blueviolet;&quot;&gt;$user&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Consolas; font-size: 9pt;&quot;&gt;-Replace&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;@{thumbnailPhoto&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Consolas; font-size: 9pt;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Consolas; font-size: 9pt;&quot;&gt;[byte[]]&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9pt;&quot;&gt;Get-Content&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Consolas; font-size: 9pt;&quot;&gt;&quot;C:\temp\&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 12px;&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Consolas; font-size: 9pt;&quot;&gt;.jpg&quot;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Consolas; font-size: 9pt;&quot;&gt;-Encoding&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Consolas; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Consolas; font-size: 9pt;&quot;&gt;byte&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9pt;&quot;&gt;))}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;font-family: Consolas;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/08/powershell-add-picture-for-user-in-ad.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-6422910359391719605</guid><pubDate>Mon, 15 Aug 2016 16:42:00 +0000</pubDate><atom:updated>2016-08-15T11:42:22.323-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">best</category><category domain="http://www.blogger.com/atom/ns#">fun</category><category domain="http://www.blogger.com/atom/ns#">wbapps</category><category domain="http://www.blogger.com/atom/ns#">Websites</category><title>The most useful websites and web apps</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-stretch: normal; margin: 0.75em 0px 0px; position: relative; text-align: left;&quot;&gt;
&lt;span style=&quot;line-height: 1.4;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The Most Useful Websites and Web Apps&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-8549949511834009238&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4; position: relative; width: 520px;&quot;&gt;
&lt;br /&gt;ctrlq.org/screenshots – for capturing screenshots of web pages on mobile and desktops.&lt;br /&gt;dictation.io – online voice recognition in the browser itself.&lt;br /&gt;Most Useful Websiteszerodollarmovies.com – find full-length movies on YouTube.&lt;br /&gt;screenr.com – record movies of your desktop and send them straight to YouTube.&lt;br /&gt;goo.gl – shorten long URLs and convert URLs into QR codes.&lt;br /&gt;unfurlr.come – find the original URL that’s hiding behind a short URL.&lt;br /&gt;qClock – find the local time of a city using Google Maps.&lt;br /&gt;copypastecharacter.com – copy special characters that aren’t on your keyboard.&lt;br /&gt;codeacademy.com – the best place to learn coding online.&lt;br /&gt;lovelycharts.com – create flowcharts, network diagrams, sitemaps, etc.&lt;br /&gt;iconfinder.com – find icons of all sizes.&lt;br /&gt;office.com – download templates, clipart and images for your Office documents.&lt;br /&gt;followupthen.com – the easiest way to setup email reminders.&lt;br /&gt;jotti.org – scan any suspicious file or email attachment for viruses.&lt;br /&gt;wolframalpha.com – gets answers directly without searching &amp;nbsp; – see more wolfram tips.&lt;br /&gt;printwhatyoulike.com – print web pages without the clutter.&lt;br /&gt;ctrlq.save – save online files to Dropbox or Google Drive directly.&lt;br /&gt;ctrql.rss – a search engine for RSS feeds.&lt;br /&gt;e.ggtimer.com – a simple online timer for your daily needs.&lt;br /&gt;coralcdn.org – if a site is down due to heavy traffic, try accessing it through coral CDN.&lt;br /&gt;random.org – pick random numbers, flip coins, and more.&lt;br /&gt;pdfescape.com – lets you can quickly edit PDFs in the browser itself.&lt;br /&gt;tubemogul.com – simultaneously upload videos to YouTube and other video sites.&lt;br /&gt;scr.im – share you email address online without worrying about spam.&lt;br /&gt;spypig.com – now get read receipts for your email.&lt;br /&gt;myfonts.com/WhatTheFont – quickly determine the font name from an image.&lt;br /&gt;google.com/webfonts – a good collection of open source fonts.&lt;br /&gt;regex.info – find data hidden in your photographs – see more EXIF tools.&lt;br /&gt;livestream.com – broadcast events live over the web, including your desktop screen.&lt;br /&gt;iwantmyname.com – helps you search domains across all TLDs.&lt;br /&gt;homestyler.com – design from scratch or re-model your home in 3d.&lt;br /&gt;join.me – share you screen with anyone over the web.&lt;br /&gt;onlineocr.net – recognize text from scanned PDFs – see other OCR tools.&lt;br /&gt;flightstats.com – Track flight status at airports worldwide.&lt;br /&gt;wetransfer.com – for sharing really big files online.&lt;br /&gt;hundredzeros.com – the site lets you download free Kindle books.&lt;br /&gt;polishmywriting.com – check your writing for spelling or grammatical errors.&lt;br /&gt;marker.to – easily highlight the important parts of a web page for sharing.&lt;br /&gt;typewith.me – work on the same document with multiple people.&lt;br /&gt;whichdateworks.com – planning an event? find a date that works for all.&lt;br /&gt;everytimezone.com – a less confusing view of the world time zones.&lt;br /&gt;gtmetrix.com – the perfect tool for measuring your site performance online.&lt;br /&gt;noteflight.com – print music sheets, write your own music online (review).&lt;br /&gt;imo.im – chat with your buddies on Skype, Facebook, Google Talk, etc. from one place.&lt;br /&gt;translate.google.com – translate web pages, PDFs and Office documents.&lt;br /&gt;kleki.com – create paintings and sketches with a wide variety of brushes.&lt;br /&gt;similarsites.com – discover new sites that are similar to what you like already.&lt;br /&gt;wordle.net – quick summarize long pieces of text with tag clouds.&lt;br /&gt;bubbl.us – create mind-maps, brainstorm ideas in the browser.&lt;br /&gt;kuler.adobe.com – get color ideas, also extract colors from photographs.&lt;br /&gt;liveshare.com – share your photos in an album instantly.&lt;br /&gt;lmgtfy.com – when your friends are too lazy to use Google on their own.&lt;br /&gt;midomi.com – when you need to find the name of a song.&lt;br /&gt;google.com/history – see your past searches, also among most important Google URLs&lt;br /&gt;bing.com/images – automatically find perfectly-sized wallpapers for mobiles.&lt;br /&gt;faxzero.com – send an online fax for free – see more fax services.&lt;br /&gt;feedmyinbox.com – get RSS feeds as an email newsletter.&lt;br /&gt;ge.tt – qiuckly send a file to someone, they can even preview it before downloading.&lt;br /&gt;pipebytes.com – transfer files of any size without uploading to a third-party server.&lt;br /&gt;tinychat.com – setup a private chat room in micro-seconds.&lt;br /&gt;privnote.com – create text notes that will self-destruct after being read.&lt;br /&gt;boxoh.com – track the status of any shipment on Google Maps – alternative.&lt;br /&gt;mondrian.io – create vector drawings in the browser&lt;br /&gt;draw.io – create diagrams and flowcharts in the browser, export your drawings to Google Drive and Dropbox.&lt;br /&gt;downforeveryoneorjustme.com – find if your favorite website is offline or not?&lt;br /&gt;ewhois.com – find the other websites of a person with reverse Analytics lookup.&lt;br /&gt;whoishostingthis.com – find the web host of any website.&lt;br /&gt;labnol.org – software tutorials and how-to guides.&lt;br /&gt;disposablewebpage.com – create a temporary web page that self-destruct.&lt;br /&gt;urbandictionary.com – find definitions of slangs and informal words.&lt;br /&gt;seatguru.com – consult this site before choosing a seat for your next flight.&lt;br /&gt;unsplash.com – download images absolutely free.&lt;br /&gt;zoom.it – view very high-resolution images in your browser without scrolling.&lt;br /&gt;scribblemaps.com – create custom Google Maps easily.&lt;br /&gt;alertful.com – quickly setup email reminders for important events.&lt;br /&gt;picmonkey.com – Picnik is offline but PicMonkey is an even better image editor.&lt;br /&gt;formspring.me – you can ask or answer personal questions here.&lt;br /&gt;sumopaint.com – an excellent layer-based online image editor.&lt;br /&gt;snopes.com – find if that email offer you received is real or just another scam.&lt;br /&gt;typingweb.com – master touch-typing with these practice sessions.&lt;br /&gt;mailvu.com – send video emails to anyone using your web cam.&lt;br /&gt;timerime.com – create timelines with audio, video and images.&lt;br /&gt;stupeflix.com – make a movie out of your images, audio and video clips.&lt;br /&gt;safeweb.norton.com – check the trust level of any website.&lt;br /&gt;teuxdeux.com – a beautiful to-do app that looks like your paper dairy.&lt;br /&gt;deadurl.com – you’ll need this when your bookmarked web pages are deleted.&lt;br /&gt;minutes.io – quickly capture effective notes during meetings.&lt;br /&gt;youtube.com/leanback – Watch YouTube channels in TV mode.&lt;br /&gt;youtube.com/disco – quickly create a video playlist of your favorite artist.&lt;br /&gt;talltweets.com – Send tweets longer than 140 characters.&lt;br /&gt;pancake.io – create a free and simple website using your Dropbox account.&lt;br /&gt;builtwith.com – find the technology stack to know everything about a website.&lt;br /&gt;woorank.com – research a website from the SEO perspective.&lt;br /&gt;mixlr.com – broadcast live audio over the web.&lt;br /&gt;radbox.me – bookmark online videos and watch them later (review).&lt;br /&gt;tagmydoc.com – add QR codes to your documents and presentations (review).&lt;br /&gt;notes.io – the easiest way to write short text notes in the browser.&lt;br /&gt;ctrlq.org/html-mail – send rich-text mails to anyone, anonymously.&lt;br /&gt;fiverr.com – hire people to do little things for $5.&lt;br /&gt;otixo.com – easily manage your online files on Dropbox, Google Docs, etc.&lt;br /&gt;ifttt.com – create a connection between all your online accounts.&lt;br /&gt;Changelog and Updates&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/08/the-most-useful-websites-and-web-apps.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-1962110290027684520</guid><pubDate>Thu, 04 Aug 2016 12:54:00 +0000</pubDate><atom:updated>2016-08-04T07:54:44.656-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Course 55039A</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><category domain="http://www.blogger.com/atom/ns#">Windows PowerShell Scripting and Toolmaking</category><title>Windows PowerShell Scripting and Toolmaking</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border: 0px; color: #1a1a1a; font-family: wf_segoe-ui_light, &amp;quot;Segoe UI Light&amp;quot;, &amp;quot;Segoe WP Light&amp;quot;, wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 2.375em; font-stretch: inherit; font-weight: 300; line-height: 1.25; margin: 0px 0px 0.35em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;course-detail-id&quot; style=&quot;border: 0px; display: block; font-family: inherit; font-size: 1.5rem; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Course 55039A:&lt;/span&gt;Windows PowerShell Scripting and Toolmaking&lt;/h1&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT5xPOoUaVWV1cXsEe394_BFDVxOLXFmzlXbx5Ab2n1Uq74BAhtSYoaNqDxIqhyD92FqRssts_i2nNpCxYwhioaQ_PesP5aRIDQcVnDB7f3_iD27Qm7Ksqsf0YiQuHR1o9cL9HS60s-6aj/s1600/powershell.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;205&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT5xPOoUaVWV1cXsEe394_BFDVxOLXFmzlXbx5Ab2n1Uq74BAhtSYoaNqDxIqhyD92FqRssts_i2nNpCxYwhioaQ_PesP5aRIDQcVnDB7f3_iD27Qm7Ksqsf0YiQuHR1o9cL9HS60s-6aj/s320/powershell.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;LasoDummyDivClass&quot; style=&quot;background-color: white; border: 0px; font-family: wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 15.008px; font-stretch: inherit; line-height: 22.512px; margin: 0px; padding: 0px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot;&gt;
This five-day instructor-led course is intended for IT Professionals who have a working knowledge of Windows PowerShell 3.0 techniques and technologies, and who want to build reusable tools by using Windows PowerShell 3.0. Students of this course may administer a wide variety of server and client products and technologies that offer Windows PowerShell integration, including Microsoft Exchange Server, Microsoft Windows Active Directory Domain Services, Microsoft SharePoint Server, and more. This course focuses on the Windows PowerShell scripting language, and on the concepts and techniques needed to produce reusable, professional tools.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;DetailPagesContentHeading2&quot; style=&quot;background-color: white; border: 0px; display: block; font-family: wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 15.008px; font-stretch: inherit; font-weight: bold; line-height: 22.512px; margin: 0px 0px 0.4em; padding: 0px; vertical-align: baseline;&quot;&gt;Audience profile&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;LasoDummyDivClass&quot; style=&quot;background-color: white; border: 0px; font-family: wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 15.008px; font-stretch: inherit; line-height: 22.512px; margin: 0px; padding: 0px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;br /&gt;&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot;&gt;
This course is intended for administrators that have little or no programming experience, but who have a working knowledge of Windows PowerShell and who are able to use Windows PowerShell to run complex, interactive commands.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;DetailPagesContentHeading2&quot; style=&quot;background-color: white; border: 0px; display: block; font-family: wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 15.008px; font-stretch: inherit; font-weight: bold; line-height: 22.512px; margin: 0px 0px 0.4em; padding: 0px; vertical-align: baseline;&quot;&gt;At course completion&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;LasoDummyDivClass&quot; style=&quot;background-color: white; border: 0px; font-family: wf_segoe-ui_normal, &amp;quot;Segoe UI&amp;quot;, Segoe, &amp;quot;Segoe WP&amp;quot;, Tahoma, Verdana, Arial, sans-serif; font-size: 15.008px; font-stretch: inherit; line-height: 22.512px; margin: 0px; padding: 0px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
After completing this course, students will be able to:&lt;/div&gt;
&lt;br /&gt;&lt;div class=&quot;Abstract&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 1px; vertical-align: baseline;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;ul style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Design tools, including input requirements, output requirements, and functional requirements.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Write tools, including scripting, parameterizing commands, and providing verbose output.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Debug tools and provide error handling within tools.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Combine tools into script and manifest modules.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Create custom formatting views.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.769em 3.462em; padding: 0px; vertical-align: baseline;&quot;&gt;Create tools that are consistent in naming and operation with native Windows PowerShell tools&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/08/windows-powershell-scripting-and.html</link><author>noreply@blogger.com (Ashur Guliana)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT5xPOoUaVWV1cXsEe394_BFDVxOLXFmzlXbx5Ab2n1Uq74BAhtSYoaNqDxIqhyD92FqRssts_i2nNpCxYwhioaQ_PesP5aRIDQcVnDB7f3_iD27Qm7Ksqsf0YiQuHR1o9cL9HS60s-6aj/s72-c/powershell.PNG" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-6784941386175947156</guid><pubDate>Fri, 29 Jul 2016 13:43:00 +0000</pubDate><atom:updated>2016-07-29T08:43:23.675-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell -GET POWERSHELL ISE TO RUN SCRIPTS WITH -VERBOSE FLAG</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border-bottom-width: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 1.4em; margin: 5px 0px 0px; padding: 0px 0px 0px 70px;&quot;&gt;
GET POWERSHELL ISE TO RUN SCRIPTS WITH -VERBOSE FLAG&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Open up your Microsoft.PowerShellISE_profile.ps1 file and add the following lines:

$psISE.CurrentPowerShellTab.AddOnsMenu.Submenus.Add(&#39;Run with -Verbose&#39;, { Invoke-Expression -Command &quot;. &#39;$($psISE.CurrentFile.FullPath)&#39; -Verbose&quot; }, &#39;Ctrl+F5&#39;) | Out-Null
$psISE.CurrentPowerShellTab.AddOnsMenu.Submenus.Add(&#39;Run with -Debug&#39;,   { Invoke-Expression -Command &quot;. &#39;$($psISE.CurrentFile.FullPath)&#39; -Debug&quot; }, &#39;Ctrl+F6&#39;) | Out-Null


 restart ISE you should see the options under the Add-Ons menu.&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Spiceworks Link&lt;/pre&gt;
&lt;pre style=&quot;padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, Lucida Console, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;&lt;a href=&quot;https://community.spiceworks.com/scripts/show/3707-get-powershell-ise-to-run-scripts-with-verbose-flag&quot;&gt;https://community.spiceworks.com/scripts/show/3707-get-powershell-ise-to-run-scripts-with-verbose-flag&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-get-powershell-ise-to-run.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-1625892417130450774</guid><pubDate>Fri, 29 Jul 2016 13:41:00 +0000</pubDate><atom:updated>2016-07-29T08:41:05.844-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - SILENT WINDOWS PATCHING AND CONTROLLED REBOOTS</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border-bottom-width: 0px; color: #333333; font-family: Arial, sans-serif; margin: 5px 0px 0px; padding: 0px 0px 0px 70px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;SILENT WINDOWS PATCHING AND CONTROLLED REBOOTS&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 12px; margin-bottom: 0.5em; margin-top: 0.5em; padding: 0px;&quot;&gt;
updating windows and control when the system restarts.&lt;br /&gt;Thanks to Rönnkvist&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 12px; margin-bottom: 0.5em; margin-top: 0.5em; padding: 0px;&quot;&gt;
Copy the following files to %ProgramFiles%\RebootIfNeeded&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 12px; margin-bottom: 0.5em; margin-top: 0.5em; padding: 0px;&quot;&gt;
RebootIfNeeded.ps1 – Copy script below&lt;br /&gt;hstart64.exe – Download from&amp;nbsp;&lt;a href=&quot;http://www.ntwind.com/software/hstart.html&quot; style=&quot;color: black; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://www.ntwind.com/software/hstart.html&lt;/a&gt;&amp;nbsp;(needed to hide the scheduled task completely)&lt;br /&gt;ShutdownTool.exe – Download from&amp;nbsp;&lt;a href=&quot;http://blog.coretech.dk/kea/new-version-of-the-coretech-shutdown-tool/&quot; style=&quot;color: black; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://blog.coretech.dk/kea/new-version-of-the-coretech-shutdown-tool/&lt;/a&gt;&amp;nbsp;(you can find the latest version in the comments)&lt;br /&gt;Create a Scheduled Task that runs once or twice every day (I have it set at 08:00 and 13:00 every weekday), and on that task create an with the following configuration:&lt;br /&gt;Program: %ProgramFiles%\RebootIfNeeded\hstart64.exe&lt;br /&gt;Arguments: /NOCONSOLE /WAIT “”%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe” -NoLogo -NoProfile -NonInteractive -File “%ProgramFiles%\RebootIfNeeded\RebootIfNeeded.ps1″”&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, sans-serif; font-size: 12px; margin-bottom: 0.5em; margin-top: 0.5em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;[CmdletBinding()]
PARAM (
    $maxBootAgeDays = 35,
    $restartTimeOut = (9 * 60), # 9 hours
    $restartMaxPostpone = (48 * 60), # 48 hours
    $restartDescriptions = @{
        &quot;en-US&quot; = &quot;Your computer needs to restart to receive the latest updates.&quot;;
    },
    $defaultLanguage = &quot;en-US&quot;
)
 
 
Function Get-PendingReboot {
    # Local HKLM
    $HKLM = [UInt32] &quot;0x80000002&quot;
    $wmiRegistry = [WMIClass] &quot;\\.\root\default:StdRegProv&quot;
 
    #Default
    $PendingReboot = $false
 
    # CBS - Reboot Required ?
    $RegSubKeysCBS = $wmiRegistry.EnumKey($HKLM,&quot;SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\&quot;)
    if ($RegSubKeysCBS.sNames -contains &quot;RebootPending&quot;) {
        Write-Verbose &quot;Component Based Servicing have a reboot pending&quot;
        $PendingReboot = $true
    }
                             
    # Windows Update - Reboot Required?
    $RegistryWUAU = $wmiRegistry.EnumKey($HKLM,&quot;SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\&quot;)
    if ($RegistryWUAU.sNames -contains &quot;RebootRequired&quot;) {
        Write-Verbose &quot;Windows Update have a reboot required&quot;
        $PendingReboot = $true
    }
 
    ## Pending FileRenameOperations ?
    $RegSubKeySM = $wmiRegistry.GetMultiStringValue($HKLM,&quot;SYSTEM\CurrentControlSet\Control\Session Manager\&quot;,&quot;PendingFileRenameOperations&quot;)
    If ($RegSubKeySM.sValue) {
        $RegSubKeySM.sValue | ForEach-Object { 
            If ($_.Trim() -ne &#39;&#39;) {
                Write-Verbose &quot;Pending FileRename operation: $($_)&quot;
            }
        }
        $PendingReboot = $true
    }
 
    # ConfigMgr - Pending reboot ?
    TRY {
        $CCMClientSDK = Invoke-WmiMethod -NameSpace &quot;ROOT\ccm\ClientSDK&quot; -Class &quot;CCM_ClientUtilities&quot; -Name &quot;DetermineIfRebootPending&quot; -ErrorAction Stop
 
        If ($CCMClientSDK.IsHardRebootPending -or $CCMClientSDK.RebootPending) {
            Write-Verbose &quot;ConfigMgr have reboot pending&quot;
            $PendingReboot = $true
        }
    } CATCH {
        Write-Verbose &quot;Cant talk to ConfigMgr Agent&quot;
    }
 
    Write-Verbose &quot;Pending reboot: $($PendingReboot)&quot;
    Return $PendingReboot
}
 
Function Check-OldBootAge {
    PARAM (
        $maxAgeDays = 35
    )
 
    $BootTime = Get-WmiObject  Win32_Operatingsystem
    [Int]$days = (New-TimeSpan -Start $boottime.ConvertToDateTime($boottime.LastBootUpTime) -End (Get-Date)).TotalDays
 
    if ($days -ge $maxAgeDays) {
        Write-Verbose &quot;Boot age is $($days) days (more than $($maxBootAgeDays)), reboot required&quot;
        Return $true
    } else {
        Write-Verbose &quot;Boot age is $($days) days (less than $($maxBootAgeDays))&quot;
        Return $false
    }
 
    Return $days
}
 
Function Get-UserLanguage {
    Return [String] ([System.Threading.Thread]::CurrentThread).CurrentUICulture.Name
}
 
# ------------------------------------------------------------------------------------------------------------
# Main script
 
if ( (Get-WmiObject -Query &quot;SELECT ProductType FROM Win32_OperatingSystem&quot;).ProductType -eq 1) {
 
    If ( (Get-Process &quot;ShutdownTool&quot; -ErrorAction SilentlyContinue) ) {
        Write-Host &quot;Already running ShutdownTool&quot;
    } else {
        If ((Check-OldBootAge -maxAgeDays $maxBootAgeDays) -or (Get-PendingReboot)) {
            Write-Host &quot;Reboot is required, calling restart utility&quot;
 
            $userLanguage = Get-UserLanguage
            Write-Verbose &quot;Language: $($userLanguage)&quot;
 
            # Find description
            $Description = $restartDescriptions[$userLanguage]
            if ($Description -eq $null) {
                $Description = $restartDescriptions[$defaultLanguage]
            }
 
            $timeOutSeconds = ($restartTimeOut*60) - 1
 
            Write-Verbose &quot;Restart timeout: $($timeOutSeconds) seconds&quot;
            Write-Verbose &quot;Max postpone: $($restartMaxPostpone) minutes&quot;
            Write-Verbose &quot;Description: $($Description)&quot;
 
 
            If ((Test-Path &quot;.\ShutdownTool.exe&quot;) -eq $false) {
                Throw &quot;Cant find ShutdownTool.exe&quot;
            } else {
                Write-Verbose &quot;Calling restart with ShutdownTool&quot;
                .\ShutdownTool.exe /g:$userLanguage /d:&quot;$Description&quot; /t:$timeOutSeconds /m:$restartMaxPostpone /r /c
            }
 
            # /g - Language
            # /d - description
            # /t - countdown in sec
            # /m - max postpone in min
            # /r - reboot instead of shutdown
            # /c - force &amp;amp; remove abort-btn
        }
    }
 
} else {
    Write-Verbose &quot;Not a client OS&quot;
}
# Done!&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Spiceworks Link&lt;/pre&gt;
&lt;pre style=&quot;padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, Lucida Console, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;&lt;a href=&quot;https://community.spiceworks.com/scripts/show/3706-silent-windows-patching-and-controlled-reboots&quot;&gt;https://community.spiceworks.com/scripts/show/3706-silent-windows-patching-and-controlled-reboots&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-silent-windows-patching-and.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-3425288007897189288</guid><pubDate>Fri, 29 Jul 2016 13:39:00 +0000</pubDate><atom:updated>2016-07-29T08:39:00.949-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - USER PICTURES IN AD</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;padding: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Consolas, Lucida Console, monospace; font-size: large;&quot;&gt;&lt;span style=&quot;line-height: 14px;&quot;&gt;&lt;b&gt;USER PICTURES IN AD&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Function&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Add-AdThumbnailPhoto {
    PARAM (
        [ValidateScript({Test-Path $_ -PathType Leaf})] [string] $PicturePath,
        $UserAccount
    )
     
    If (!(Test-IsModuleLoaded &quot;ActiveDirectory&quot;)) {
        Throw &quot;You need to run: Import-Module ActiveDirectory&quot;
    }
    Write-Verbose &quot;Adding $($PicturePath) to $($UserAccount)&quot;
    $pictureBinary = [byte[]](Get-Content $PicturePath -Encoding byte)
     
    If ([System.Text.Encoding]::ASCII.GetString($pictureBinary).Length -ge 100Kb) {
        Throw &quot;Picture to large, max size is 100Kb&quot;
    }
     
     
    Try {
        Set-AdUser $UserAccount -Replace @{ thumbnailPhoto = $pictureBinary }
    }
    Catch {
        Throw $error[0]
    }
}


# one liner
Add-AdThumbnailPhoto -PicturePath &quot;C:\MyPicture.jpg&quot; -UserAccount &quot;MyUserAccount&quot;
# or
Set-AdUser &quot;MyUserAccount&quot; -Replace @{ thumbnailPhoto = ([byte[]](Get-Content &quot;C:\MyPicture.jpg&quot; -Encoding byte) }&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Spiceworks Link&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://community.spiceworks.com/scripts/show/3708-user-pictures-in-ad&quot;&gt;https://community.spiceworks.com/scripts/show/3708-user-pictures-in-ad&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-user-pictures-in-ad.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-4639517531729004134</guid><pubDate>Fri, 29 Jul 2016 13:34:00 +0000</pubDate><atom:updated>2016-07-29T08:35:01.732-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>POWERSHELL - UNZIP MULTIPLE FILES VIA POWERSHELL</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background: rgb(255, 255, 255); border: 0px; margin: 0px 0px 20px; outline: 0px; padding: 5px 0px 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;leaguegothic&amp;quot; , &amp;quot;arial narrow&amp;quot; , &amp;quot;impact&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal; line-height: 50px; text-transform: uppercase;&quot;&gt;UNZIP MULTIPLE FILES VIA POWERSHELL&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;PARAM (
    [string] $ZipFilesPath = &quot;X:\Somepath\Full\Of\Zipfiles&quot;,
    [string] $UnzipPath = &quot;X:\Somepath\to\extract\to&quot;
)
 
$Shell = New-Object -com Shell.Application
$Location = $Shell.NameSpace($UnzipPath)
 
$ZipFiles = Get-Childitem $ZipFilesPath -Recurse -Include *.ZIP
 
$progress = 1
foreach ($ZipFile in $ZipFiles) {
    Write-Progress -Activity &quot;Unzipping to $($UnzipPath)&quot; -PercentComplete (($progress / ($ZipFiles.Count + 1)) * 100) -CurrentOperation $ZipFile.FullName -Status &quot;File $($Progress) of $($ZipFiles.Count)&quot;
    $ZipFolder = $Shell.NameSpace($ZipFile.fullname)
 
 
    $Location.Copyhere($ZipFolder.items(), 1040) # 1040 - No msgboxes to the user - http://msdn.microsoft.com/en-us/library/bb787866%28VS.85%29.aspx
    $progress++
}&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Spiceworks Link&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://community.spiceworks.com/scripts/show/3709-unzip-multiple-files-via-powershell&quot;&gt;https://community.spiceworks.com/scripts/show/3709-unzip-multiple-files-via-powershell&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/unzip-multiple-files-via-powershell.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-6664742096410036857</guid><pubDate>Tue, 26 Jul 2016 23:58:00 +0000</pubDate><atom:updated>2016-07-26T18:59:38.458-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>PowerShell - Install Quest Tools</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/anxumhOeZeI&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-install-quest-tools.html</link><author>noreply@blogger.com (Ashur Guliana)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/anxumhOeZeI/default.jpg" height="72" width="72"/></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-7397168954309774386</guid><pubDate>Tue, 26 Jul 2016 17:13:00 +0000</pubDate><atom:updated>2016-07-26T12:13:50.664-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - MIGRATE PRINTERS TO NEW SERVER</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border-bottom-width: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 1.4em; margin: 5px 0px 0px; padding: 0px 0px 0px 70px;&quot;&gt;
MIGRATE PRINTERS TO NEW SERVER&lt;/h1&gt;
&lt;div class=&quot;content&quot; style=&quot;background-color: white; color: #888888; font-family: Arial, sans-serif; font-size: 12px; margin: 0px; padding: 0px 0px 0px 70px;&quot;&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
A Powershell script in the Printers category&lt;/div&gt;
&lt;div style=&quot;padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; line-height: 14px; padding: 0px;&quot;&gt;Function Migrate-Printer {
    PARAM (
        [string] $ShareName,
        [string] $oldServer,
        [string] $newServer
    )
 
    $currentPrinter = Get-WmiObject -Query &quot;SELECT * FROM Win32_Printer WHERE Network=True AND ShareName = &#39;$($ShareName)&#39; AND SystemName = &#39;\\\\$($oldServer)&#39;&quot;
 
    if ($currentPrinter -eq $null) {
        Write-Verbose &quot;Cant find \\$($oldServer)\$($ShareName)&quot;
    } else {
        Write-Verbose &quot;Migrating printer $($ShareName) from $($oldServer) to $($newServer)&quot;
 
        $net = New-Object -com WScript.Network
 
        Write-Verbose &quot;Adding printer \\$($newServer)\$($ShareName)&quot;
        $net.AddWindowsPrinterConnection(&quot;\\$($newServer)\$($ShareName)&quot;)
 
        Write-Verbose &quot;Removing printer \\$($newServer)\$($ShareName)&quot;
        $net.RemovePrinterConnection(&quot;\\$($oldServer)\$($ShareName)&quot;)
     
 
        if ($currentPrinter.Default -eq &quot;True&quot;) {
            Write-Verbose &quot;Setting default to \\$($newServer)\$($ShareName)&quot;
            $net.SetDefaultPrinter(&quot;\\$($newServer)\$($ShareName)&quot;)
        }
    }
 
}&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-migrate-printers-to-new.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-4057607080667993626</guid><pubDate>Tue, 26 Jul 2016 17:12:00 +0000</pubDate><atom:updated>2016-07-26T12:12:03.893-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - RESET LOCAL ADMIN PASSWORD</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;background-color: white; border-bottom-width: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 1.4em; margin: 5px 0px 0px; padding: 0px 0px 0px 70px;&quot;&gt;
RESET LOCAL ADMIN PASSWORD&lt;/h1&gt;
&lt;div class=&quot;content&quot; style=&quot;background-color: white; margin: 0px; padding: 0px 0px 0px 70px;&quot;&gt;
&lt;div style=&quot;color: #888888; font-family: Arial, sans-serif; font-size: 12px; padding: 0px;&quot;&gt;
A Powershell script in the Accounts and Passwords category&lt;/div&gt;
&lt;div style=&quot;color: #888888; font-family: Arial, sans-serif; font-size: 12px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;Function Get-RandomPassword {
    PARAM (
        $pwdMask = &quot;####-####-####-####-####&quot;,
        $pwdCharacters = &quot;abcdefghjkmnopqrstuvwxy23456789ABCDEFGHJKLMNPQRTUVWXYZ&quot;
    )
 
    $newPassword = &quot;&quot;
    (0 .. (($pwdMask.Length)-1) ) | ForEach-Object  {
        If ( $pwdMask.Chars($_) -eq &quot;#&quot; ) {
            $rndChar = Get-Random -Minimum 0 -Maximum $pwdCharacters.Length
            $newPassword += $pwdCharacters.Chars($rndChar)
        } else {
            $newPassword += $pwdMask.Chars($_)
        }
    }
 
    Return $newPassword
}
 
 
Function Set-LocalAdminPassword {
    PARAM (
        [string] $computerName,
        [string] $newPassword
    )
 
    $adminAccountName = (Get-WmiObject Win32_UserAccount -Filter &quot;LocalAccount = True AND SID LIKE &#39;S-1-5-21-%-500&#39;&quot; -ComputerName $computerName | Select-Object -First 1 ).Name
    TRY {
        Write-Verbose &quot;Reset password for $($computerName)\$($adminAccountName) to $($newPassword)&quot;
        $adminAccount = [adsi]&quot;WinNT://$($computerName)/$($adminAccountName),user&quot;
        $adminAccount.setPassword($newPassword)
        Return $true
    }
    CATCH {
        Return $false
    }
}




&lt;b&gt;USAGE&lt;/b&gt;
 
Set-LocalAdminPassword -computerName &quot;SOMEPC&quot; -newPassword (Get-RandomPassword)&lt;/pre&gt;
&lt;pre style=&quot;color: #333333; font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 12px; line-height: 14px; padding: 0px;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, Lucida Console, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;https://community.spiceworks.com/scripts/show/3702-reset-local-admin-password&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, Lucida Console, monospace;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-reset-local-admin-password.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-3810897644770852859</guid><pubDate>Tue, 26 Jul 2016 15:32:00 +0000</pubDate><atom:updated>2016-07-26T10:32:50.157-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">encrypt</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - Create a Password Protected encrypted drive</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Create a Password Protected encrypted drive&lt;/b&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial; line-height: 18.48px;&quot;&gt;using&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: Arial; line-height: 18.48px;&quot;&gt;BitLocker&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: Arial; line-height: 18.48px;&quot;&gt;Powershell module cmdlets.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;When&amp;nbsp; I run the&amp;nbsp;&lt;strong&gt;Get-BitLockerVolume&lt;/strong&gt;&amp;nbsp;cmdlet, it shows me the below output, you can see , that I have two drives are both are not encrypted.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;I am interested in encrypting my Data Drive which is drive letter&lt;strong&gt;&amp;nbsp;D:\&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;Let&#39;s encrypt it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;To encrypt a drive, we use the&amp;nbsp;&lt;strong&gt;Enable-BitLockerVolume&lt;/strong&gt;&amp;nbsp;cmdlet&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;Remember: We need to create a Secure String Password, if you want to open the BitLocker encrypted drive using Password.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Lucida Console;&quot;&gt;&lt;span style=&quot;color: orangered;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;$pass&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;ConvertTo-SecureString&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;Passw0rd&quot;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-AsPlainText&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: navy; font-size: 12pt;&quot;&gt;-Force&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;In above command, we are creating a new secure string of text, Passw0rd, this will be out password to unlock the BitLocker encrypted drive.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Lucida Console;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Enable-BitLocker&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-MountPoint&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;D:\&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-EncryptionMethod&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;Aes128&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-Password&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$pass&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: navy; font-size: 12pt;&quot;&gt;-PasswordProtector&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-create-password-protected.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-294732064978463585</guid><pubDate>Fri, 22 Jul 2016 13:52:00 +0000</pubDate><atom:updated>2016-07-22T08:52:35.301-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>PowerShell - Find running schedule tasks</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; font-family: &amp;quot;Times New Roman&amp;quot;, Times, FreeSerif, serif; font-size: 30px; font-stretch: normal; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Find running schedule&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 10.8px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-489045668768067515&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 1.4; position: relative; width: 686px;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: 12pt; line-height: 1.4;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Get-Scheduledtask&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.4;&quot;&gt;, type and run it and you will see list of you all cmdlets and if you want know about the running schedule tasks&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.4;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Get-Scheduledtask&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: darkgrey;&quot;&gt;|&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;state&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-eq&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-size: 14pt;&quot;&gt;&quot;Running&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-find-running-schedule-tasks.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-5277170461254402069</guid><pubDate>Wed, 20 Jul 2016 14:27:00 +0000</pubDate><atom:updated>2016-07-22T08:52:52.834-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>PowerShell - Zip em Up</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;By using the&amp;nbsp;&lt;strong&gt;Compress-Archive&lt;/strong&gt;&amp;nbsp;cmdlet.&amp;nbsp; The syntax of&amp;nbsp;&lt;strong&gt;Compress-Archive&lt;/strong&gt;cmdlet is simple, provide the&lt;strong&gt;&amp;nbsp;-Path&lt;/strong&gt;&amp;nbsp;of the folder which you want to compress, then provide the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;strong&gt;-DestinationPath&lt;/strong&gt;&amp;nbsp;of your .zip file and then set a&amp;nbsp;&lt;strong&gt;-CompressionLevel,&lt;/strong&gt;&amp;nbsp;and after that hit enter.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &amp;quot;Trebuchet MS&amp;quot;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;background: white; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;lucida console&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Compress-Archive&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-CompressionLevel&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;Optimal&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-Path&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;C:\temp\Data\&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot;; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;lucida console&amp;quot;;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;-DestinationPath&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blueviolet;&quot;&gt;C:\temp\Compress.zip&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-zip-em-up.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-8536724473150019152</guid><pubDate>Mon, 18 Jul 2016 16:51:00 +0000</pubDate><atom:updated>2016-07-18T11:51:47.434-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - Empty RecycleBin </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Clear-RecycleBin&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;Lucida Console&amp;quot;; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: navy;&quot;&gt;-Confirm:&lt;/span&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$false&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-empty-recyclebin.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2816250587121752680.post-4024943454148126103</guid><pubDate>Mon, 18 Jul 2016 16:49:00 +0000</pubDate><atom:updated>2016-07-18T11:49:07.774-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Active Directory</category><category domain="http://www.blogger.com/atom/ns#">AD</category><category domain="http://www.blogger.com/atom/ns#">Administration</category><category domain="http://www.blogger.com/atom/ns#">Automation</category><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">Powershell</category><title>Powershell - Active Directory Reporting to Excel</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Active Directory Reporting to Excel&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Import Active Directory Module&lt;br /&gt;
Import-Module -Name ActiveDirectory&lt;br /&gt;
&lt;br /&gt;
# variables&lt;br /&gt;
$date = (get-Date).tostring()&lt;br /&gt;
$week = (Get-Date).AddDays(-7)&lt;br /&gt;
&lt;br /&gt;
# Active Directory Task Starts&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-Host &quot;Getting users created within a week.&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$ADuserInWeek = Get-ADUser -Filter * -Properties * | where { $_.whenCreated -ge $week } | select Name,whenCreated&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-Host &quot;Getting users those password are Never expirpes&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$passNeverExpire = &amp;nbsp;Get-ADUser -Filter * -Properties PasswordNeverExpires | where { $_.PasswordNeverExpires -eq $true } | select Name | sort&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Write-Host &quot;getting Computer Accounts&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$inAcComp = Get-ADComputer -Filter &quot;Enabled -eq &#39;$false&#39;&quot; | Select Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;write-Host &quot;getting inactive User accounts&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$inacUser = Get-ADUser -Filter &quot;Enabled -eq &#39;$false&#39;&quot; | Select Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
# Create a Excel Workspace&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$excel = New-Object -ComObject Excel.Application&lt;br /&gt;
&lt;br /&gt;
# make excel visible&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$excel.visible = $true&lt;br /&gt;
&lt;br /&gt;
# add a new blank worksheet&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$workbook = $excel.Workbooks.add()&lt;br /&gt;
&lt;br /&gt;
# Adding Sheets&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s1 = $workbook.sheets | where {$_.name -eq &#39;Sheet1&#39;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s1.Delete()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Sheet 2&lt;br /&gt;
# Find All Users those are created with in a Week&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2 = $workbook.sheets | where {$_.name -eq &#39;Sheet2&#39;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.name = &quot;User Created in week&quot;&lt;br /&gt;
&lt;br /&gt;
# &amp;nbsp;Add information ot sheet 2&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells= $s2.Cells&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;C1:C1&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;C1:C1&quot;).font.size=18&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;C1:C1&quot;).cells=&quot;List of Active Directory User Account those are created with-in one Week.&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;A3:A3&quot;).cells=&quot;Name&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;A3:A3&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;B3:B3&quot;).cells=&quot;When Created&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;B3:B3&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row=3&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col1=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col2=2&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Foreach ($user in $ADuserInWeek ) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col1=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col2=2&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells.item($Row,$col1)=$user.Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col1++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells.item($Row,$col2)=$user.whenCreated&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col2++&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s2.range(&quot;A3:b3&quot;).EntireColumn.autofit() | out-Null&lt;br /&gt;
&lt;br /&gt;
#Sheet 3 Users with Password Never Expire Set&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3 = $workbook.sheets | where {$_.name -eq &#39;Sheet3&#39;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.name = &quot;Pass Never Expire&quot;&lt;br /&gt;
&lt;br /&gt;
# &amp;nbsp;Add information ot sheet 2&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells= $s3.Cells&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;C1:C1&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;C1:C1&quot;).font.size=18&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;C1:C1&quot;).cells=&quot;List of Active Directory Users those Password are set to never expire..&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;A3:A3&quot;).cells=&quot;Name&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;A3:A3&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row1=3&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col3=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Foreach ( $Passw in $passNeverExpire) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row1++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col3=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells.item($Row1,$col3)=$Passw.Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col3++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s3.range(&quot;A3:A3&quot;).EntireColumn.autofit() | out-Null&lt;br /&gt;
&lt;br /&gt;
### Adding Sheet 4&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4 = $workbook.Sheets.add()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.name = &quot;Inactive Computers&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells= $s4.Cells&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;C1:C1&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;C1:C1&quot;).font.size=18&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;C1:C1&quot;).cells=&quot;List of Inactive Computer Acccounts&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;A3:A3&quot;).cells=&quot;Name&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;A3:A3&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row4=3&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col4=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Foreach ( $Com in $inAcComp) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row4++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col4=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells.item($Row4,$col4)=$Com.Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col4++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s4.range(&quot;A3:A3&quot;).EntireColumn.autofit() | out-Null&lt;br /&gt;
&lt;br /&gt;
## Sheet 5&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5 = $workbook.Sheets.add()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.name = &quot;inactive User&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells= $s5.Cells&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;C1:C1&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;C1:C1&quot;).font.size=18&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;C1:C1&quot;).cells=&quot;List of Inactive User Acccounts&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;A3:A3&quot;).cells=&quot;Name&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;A3:A3&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row5=3&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col5=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Foreach ( $Us in $inacUser) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$row5++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col5=1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$cells.item($Row5,$col5)=$Us.Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$col5++&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s5.range(&quot;A3:A3&quot;).EntireColumn.autofit() | out-Null&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
# get sheet and update sheet name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6 = $workbook.Sheets.add()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.name = &quot;Report Information&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
# Put user information on Sheet - 1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D7:D7&quot;).cells=&quot;Title:&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D7:D7&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;E7:E7&quot;).cells=&quot;Active Directory Report&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D8:D8&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D8:D8&quot;).cells=&quot;Generated By:&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;E8:E8&quot;).cells=&quot;$env:username&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D9:D9&quot;).font.bold = &quot;true&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D9:D9&quot;).cells=&quot;Generated Date:&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;E9:E9&quot;).cells=$date&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$s6.range(&quot;D7:D9&quot;).EntireColumn.autofit() | out-Null&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
#Saving File&lt;br /&gt;
&quot;`n&quot;&lt;br /&gt;
write-Host &quot;Saving file in $env:userprofile\desktop&quot;&lt;br /&gt;
$workbook.SaveAs(&quot;$env:userprofile\desktop\ActiveDirectoryReport.xlsx&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
## End of the script...&lt;/div&gt;
</description><link>http://ashurguliana.blogspot.com/2016/07/powershell-active-directory-reporting.html</link><author>noreply@blogger.com (Ashur Guliana)</author></item></channel></rss>