Few PowerShell Functions Around Windows Security
As parts of the PowerShell project that I’m currently working on, with the help with other people’s contribution in various forums and blogs, I have produced few PowerShell functions around Windows security: Validate Credential Usage: Get Current User Name Usage: Check If Current User has Local Admin Rights Usage: Check if a user is a [...]
Powershell: Prevent Users To View and Change Input or Config Files That Are Used by a Script
Often, I use .xml or .ini files to store settings that a PowerShell script uses. When I distribute my scripts to end users, sometimes, I want to make sure users cannot manually view or change the content of these config files. Below is what I did to achieve the goal: Create a password protected zip [...]
Using SCOM PowerShell Snap-in and SDK client with a PowerShell Remote Session
Recently, I’ve been working on a utility based on PowerShell scripts using WinForms GUI to perform some SCOM tasks (i.e. create maintenance window, approve manually installed agents, adding network devices, etc.). Since this script is going to be widely used in the organisation when it’s completed, I’ve always kept in mind that when users run [...]
My Observation on SCCM Clients BITS Settings
Yesterday, while we were reviewing the SCCM (2007 R3) client BITS settings at work, we (my team) have some interesting findings with SCCM client’s BITS settings. We found when the BITS bandwidth throttling settings are configured for a SCCM primary site. SCCM clients get the policy and write the settings into Windows local policy: SCCM [...]