Homepage

Homepage
Homepage 2017-10-31T20:08:01+00:00

PowerShell: Get all distribution packages with distribution Error

If you have an SCCM environment with many distribution points or/and many packages, it can sometimes be difficult to get the total overview of the distribution status directly from the manager console.  In my company, it's very important to have all software available for all distribution points or office locations. From time to time we see failed distributions til distributions point far away or to distributions points with low bandwidth. To make sure we have all software available on all distribution point, we validate distribution status every week, to ensure we have 100% success with software distribution for distribution points. The [...]

SCCM: How to Pause a Task Sequence

It's always handy to have the option to pause a Task sequence for troubleshooting or testing. If you did some changes you want to keep an eye on under the installation, and you don't have time to sit and watch the whole process, it's very useful with a Pause step in your task sequence. You can also use this pause step to perform some manually troubleshooting or run some manual scripts in specific areas of the task sequence. There are many ways to perform a pause in a task sequence. But I use the command prompt solution, as I found it very [...]

By | December 15th, 2017|Categories: OSD, SCCM, SCCM Troubleshooting|Tags: , , , , |1 Comment

PowerShell: How to digitally sign PowerShell scripts

If your environment has high PowerShell security, so only digitally signed scripts can run on the systems? The easy way is to digitally sign your PowerShell scripts, so they are allowed to execute on the systems. This guide does not include instructions, on how to create a certificate or how to distribute them to client computers.  So before you can continue and use the script below, you need to create a certificate and install it on your client/ clients. The script below will add a certificate from your certificate store to a specified PowerShell script. The first line creates a variable that [...]

PowerShell: Run PowerShell script on mutiple remote servers

The script below allows you to run PowerShell script on multiple remote servers at once. INFO: You can customize the script by changing the orange text. The first orange text line can be changed if your text file of servers is placed somewhere else. Replace the second orange text line with the PowerShell Script you want to run against your servers.   The picture below shows, how you format your text file correctly.   Run PowerShell script on multiple remote servers script: $Servers = get-content c:\temp\servers.txt</span> foreach($Server in $Servers) { invoke-Command -ComputerName $Server -ScriptBlock get-service wuauserv | select-object status</span> } [...]

Recent Comments