Powershell

Bulk-Renaming Pictures

Renaming a single file is easy using Rename-Item, but sometimes cmdlet parameter can be much smarter and help you automate in bulk. For example,...

read more

Test AD User Exists

If you’d need to find out whether a given Active Directory user exists, and provided you have installed the ActiveDirectory PowerShell module...

read more

WMI Quick Primer (Part 4)

Typically, WMI objects contain properties with valuable information. This line would retrieve all information about all running Notepad instances...

read more

WMI Quick Primer (Part 3)

In the previous tip we explained why Get-CimInstance may have advantages over the older Get-WmiObject cmdlet. Now here is another example that...

read more

WMI Quick Primer (Part 2)

There are two cmdlets you can use to retrieve WMI data: the older Get-WmiObject cmdlet, and the more modern Get-CimInstance cmdlet. When used...

read more

WMI Quick Primer (Part 1)

WMI is an awesome information source for admins. All you need is the name of a WMI class that represents something you find interesting. The easiest...

read more

Enabling Remoting

There are many ways how cmdlets can get remote information from another computer. Here are just a few: # try and connect to this computer # (adjust...

read more
1 32 33 34 35 36 130