Tag Archives: PowerShell

PowerShell: Scanning Domain Computers for Logged on Users

I have been using PSLoggedOn for a while now to determine who is logged on to our Domain Computers.  However, with Windows 7, this has become a harder task to accomplish.  This is because Windows 7 disables the Remote Registry … Continue reading

Posted in Active Directory, PowerShell | Tagged , , | 1 Comment

Active Directory: Enable the Active Directory Recycle Bin

I have been wanting to enable the Active Directory Recycle Bin for some time following our upgrade to Windows Server 2008 R2. After some research, I found “The AD Recycle Bin: Understanding, Implementing, Best Practices, and Troubleshooting” article in the … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , | 1 Comment

PowerShell: Audit Printer Event Logs

Color toner costs recently came under scrutiny by management at my company. In order to address the rising cost, Management requested a report of Color Printer use showing who, what, when, and how much is printed. This requires two steps … Continue reading

Posted in PowerShell, Windows Server | Tagged , , , , , , , | 21 Comments

PowerShell: Reporting NTFS Permissions of Windows File Shares

As I mentioned in my previous post, I am new to the PowerShell arena.  I recently had a request to report the NTFS permissions on a Windows File Share and all it’s sub-directories.  So I decided to see how I could … Continue reading

Posted in PowerShell, Windows 7, Windows Server | Tagged , , , , , , | 35 Comments

PowerShell: Execution of Scripts is Disabled on This System

I am pretty new to the PowerShell arena, so I was a little surprised with this error when I tried testing a script: File C:\script.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see … Continue reading

Posted in PowerShell, Windows 7 | Tagged , , | 2 Comments

SharePoint: Upload Photos to MySites

Since we do not use MySites in SharePoint in the traditional sense, we needed to find a way to programmatically upload photos of our Users to their MySites.  This would allow us to populate their information and photo to use the site … Continue reading

Posted in SharePoint 2010 | Tagged , , | 1 Comment