Category: Tips & Tricks

0

Update-Help

A quick tip! When using Update-Help use the parameter -Force. If something went wrong the first time the help should update from the internet the help will look strange and it will not update...

1

Send messages to teams

When automating with scripts you often (or allways) want to log what the script are doing. And mabye you want a message from the script. Teams is the new “cool” and nice way to...

0

PowerShell summer tips 04

PowerShell Summer Tips #4 When working with PowerShell my recommendation is allways to start PowerShell with Run As Administrator. Why? Try this without doing it:

You can be administrator on the computer It...

0

PowerShell summer tips 03

PowerShell are object oriented and the output will be an object in most cases. An object contains methods and properties. To get these members we can use the cmdlet Get-Member.

This is a...

0

PowerShell summer tips 02

Second PowerShell summer tips is Get-Help. Get-Help and Get-Command is the 2 most important PowerShell commands according to me.  

0

PowerShell summer tips 01

Welcome to my PowerShell summer tips. I will be posting summer tips as a nice reading on your vacation. It will be short blog posts about nice to have PowerShell commands and other nice...

0

Structure

For me the structure for my scripts are one of the most important thing. Create a structure for your scripts Regardless if it’s on your local computer or on a server Use the same...