Category Archives: Powershell

Windows: Cleanup files from WSUS which are no longer needed

Hi,

the content of an WSUS Server crows every month for several GiBytes because WSUS does held all files which has the approval state “install”.
Continue reading Windows: Cleanup files from WSUS which are no longer needed

Powershell: Searching in arrays

Hi,

this is a really often requiered task in powershell. Here are some examples.
Continue reading Powershell: Searching in arrays

Powershell: Encode and decode Base64 strings

Hi,

short post today. How to en- and decode base64 strings.
Continue reading Powershell: Encode and decode Base64 strings

Windows: Using deduplication on a volume

Hi,

since Server 2012R2 Windows has the ability to enable deduplication on volumes. This means Windows can find identically blocks on a volume and create references to them. So the block is just stored one time.
Continue reading Windows: Using deduplication on a volume

Powershell: Passing an array to a script at command line

Hi,

starting point is a simple powershell shell script testarray.ps1:
Continue reading Powershell: Passing an array to a script at command line