Tag Archives: powershell

Powershell: Function Pointer

Hi,

Powershell provides also the ability to use function pointers such as C or C++.

Define your functions
Continue reading Powershell: Function Pointer

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: Method not found: ‘System.Threading.Tasks.Task System.Threading.Tasks.Task.Run(System.Action)’

Hi,

when you tried to start powershell and the window opens and closes immediately.

Open a cmd and start powershell by calling powershell.exe
Continue reading Powershell: Method not found: ‘System.Threading.Tasks.Task System.Threading.Tasks.Task.Run(System.Action)’

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