Tag: powershell
-
Set the computer name using the BIOS Asset Tag
If you are setting the Asset Tag the same name that the computer is, it makes sense to only have to input it once. I created a powershell script that will do the following: If VM or Mac: Exit 0 If computer exists in SCCM: Exit 0 If AssetTag Exists/Not empty: Set OSDComputerName to AssetTag,…
-
Create a compliance baseline to remove a folder
In this example we are killing the Silverlight start menu folder enabling us to use the Windows Updates while keeping the start menu clean. Create the Configuration Item 1. In the console click Create Configuration Item 2. Name your configuration item, click ‘This configuration item contains application settings’ and click Next 3. Select ‘Always assume application…