Rui Qiu's Blog
  • Coming Soon
Subscribe
Rui Qiu's Blog
Rui Qiu's Blog

Powershell

15 posts
  • Powershell
  • SCCM

Automated Patching for Amazon Workspaces via SCCM and Powershell – Day 1

  • September 30, 2019
  • No comments
  • me
Do you have hundreds of Amazon Workspaces to patch monthly? and you are so tired of manually power them on to patch, and only reboot at a certain time? Here…
View Post
View Post
  • 1 min
  • Powershell
  • SCCM

DNS Management Tool Missing in RSAT Windows 10 1809 – SCCM Package

  • May 13, 2019
  • No comments
  • me
If you upgraded to Windows 10 1809, and re-installed RSAT, but the DNS Management tool is missing from RSAT, you can use this Powershell Script to make it a SCCM…
View Post
  • Powershell

How to hide shared folders under DFS Namespaces

  • November 26, 2018
  • No comments
  • me
Solution is here: How to hide shared folders under DFS Namespaces   attrib –r +h +s <folder path> /L
View Post
  • Powershell
  • SCCM

Prompt to Rename Computer During Task Sequence via Powershell

  • August 24, 2018
  • No comments
  • me
Here is my powershell script to prompt to rename computer during SCCM OSD Task Sequence. It will first auto popular machine name according to serial number, and then ask user…
View Post
  • Powershell
  • SCCM

Another way to check Update Installed via Powershell

  • May 12, 2017
  • No comments
  • me
I have to check if machine has MS March update installed, and SCCM cannot make my job simpler 🙁 So I created a new compliance rule to check the result,…
View Post
  • Powershell
  • SCCM

Find A File with Random Characters and Send Email by SCCM Compliance Rule

  • February 17, 2017
  • No comments
  • me
Here is my Powershell script for Finding a file with random characters in the end, if the system find the file, it will email to our alert mailbox as well.…
View Post
  • Powershell
  • SCCM

SCCM Compliance Rule for Finding Process Running

  • February 17, 2017
  • No comments
  • me
Here is my powershell script for finding if a  process is running with SCCM compliance rule. $process = Get-Process Process-name-xxx -ErrorAction SilentlyContinue if ($process) { Write-Host “Running” } else {Write-Host “Not…
View Post
  • Powershell

Find Current User via Powershell

  • November 18, 2016
  • No comments
  • me
sometimes if you run as local admin, but your current user is not a local admin, then you need some special way of finding the current username: $user = (gwmi…
View Post
  • Powershell
  • SCCM

Add a SCCM deployment with Powershell

  • October 24, 2016
  • No comments
  • me
Here is a powershell command for creating a SCCM deployment   Start-CMApplicationDeployment -CollectionName “Collection Name” -Name “Softwarename” -DeployAction Install -DeployPurpose Available -UserNotification DisplayAll -AvaliableDate (Get-Date) -AvaliableTime (Get-Date) -Verbose   Source:…
View Post
  • Powershell
  • SCCM

Remote Control SCCM Package

  • August 12, 2016
  • No comments
  • me
With SCCM 2012, I love the Remote Control function, so much better than RDP! and it comes with SCCM console. For those don’t have SCCM console, I have wrote a…
View Post

Posts navigation

1 2 Next
Rui Qiu's Blog
SCCM, Powershell, Shell Script, Automation...

Input your search keywords and press Enter.