Michael Wu

The Life of a System Admin

  • Home
  • Resume
  • Portfolio
    • Web Design
  • Blog
  • Contact

Add Custom Task Sequence Variables and Read them in PowerShell

Posted on 08.09.16

Custom Task Sequence (TS) Variable is useful when we have different Images deployments. We can setup the variable to control what application or software should be deployed by reading those variables. PowerShell MVP Stéphane van Gulick provides the awesome OSD tattoo script to manipulate task sequence { Read More }

How to update the Home Directory in User profile by PowerShell

Posted on 06.27.16

Some users complained about their drive is not mapping on the computer. After some researches, we found the path was blank on their Home folder in the profile. So, I created a PowerShell script to fix it massively. I use the "if loop" to check if the home directory path is blank. If it is { Read More }

PowerShell: speed up Get-ChildItem to scan files in a large file system

Posted on 06.20.16

I wrote a PowerShell script for scanning PST files in the file system. The part of script likes the below code. However, it takes very long time to complete the scan. It took about 19-21 hours to scan PST files in the 28 TB file system. I found the key point to slow down the scan is the line { Read More }

Add data into SQL database by PowerShell Script – ExecuteNonQuery with 0 arguments: Incorrect syntax near ‘S’

Posted on 06.16.16

I have a PowerShell script for PST scan in the file system. The result is in a PSObject. When I added the result into SQL database, it threw an error. After debugging, I found that the error "ExecuteNonQuery with 0 arguments: Incorrect syntax near 'S'" was from a directory path. Here is the part { Read More }

Select random objects from a list by PowerShell

Posted on 06.13.16

I run a giveaway campaign recently. After the campaign end, I will have to select a winner. In the beginning, I was thinking that open a book on the random page to select a winner. However, it is not professional, and it cannot be recorded. So, I decide to write a PowerShell script for it. I am { Read More }

How to create a Sha256 Self-Signed Certificate for SMTP secure communication by CertReq

Posted on 04.13.16

The goal of this post is to create a sha2 TLS certificate for SMTP. Create a Domain Certificate with Sha2 in the template will work. However, if you don`t have a CA in your domain, a self-signed certificate will be a good choice for testing. The self-signed certificate created by IIS Manager will work but { Read More }

How to deploy the LAPS by SCCM – Part 3

Posted on 04.04.16

In this series of posts, I will demonstrate the steps to deploy Local Administrator Password Solution(LAPS) by SCCM. This is the third post that shows the deployment procedure in server side and how to check the password. You can also check the other posts by the below links: How to deploy the LAPS by { Read More }

How to deploy the LAPS by SCCM – Part 2

Posted on 04.01.16

In this series of posts, I will demonstrate the steps to deploy Local Administrator Password Solution(LAPS) by SCCM. This is the second post covered the deployment procedure in SCCM. You can also check the other posts by the below links: How to deploy the LAPS by SCCM - Part 1 How to deploy the LAPS by { Read More }

How to deploy the LAPS by SCCM – Part 1

Posted on 04.01.16

In this series of posts, I will demonstrate the steps to deploy Local Administrator Password Solution(LAPS) by SCCM. This is the first post that shows the prerequisites for the deployment. You can also check the other posts by the below links: How to deploy the LAPS by SCCM - Part 2 How to deploy the { Read More }

  • « Previous Page
  • 1
  • 2

Recent Posts

  • How to restrict Account Operators to see the password in LAPS
  • How to join a VM to a domain by PowerShell in Azure
  • How to push an existing repository from VS Code to Azure DevOps by PowerShell
  • Use PowerShell to get firewall rules from remote computer Get-FirewallRules
  • How to install Visual Studio Code and configure with Azure Repos for PowerShell scripts

Search

Categories

  • Azure
  • IIS
  • PowerShell
  • SCCM
  • VMware
  • Windows Server

Contact

Email: [email protected] | Powered By the 太初網路

Copyright © 2019 mikewu.org Disclaimer

Connect

FacebookTwitterGoogle +Linkedin