RolandR2D2

Try & Catch

Hi , I would like to use ERROR handling with Try&Catch, that can handle $computername variable, if computer is not found, message comes up:...

read more

All drives

Hi, Is there a way to search across all drives on the computer? E.G: C:; D:; E: etc.. Starting from this short line, where I am searching...

read more

DomainRole

Hello, I understand this script, only one thing I am interested in and not fully understood, that is "domainRole" property. How can I...

read more

Output files

Hi there, I am using out-file for output, and output file contains very long rows.. so I did e.g.: >.myscript.ps1 | out-file...

read more

Ping test

Hi, I have a script (test-connection) that checks the servers are pingable or not, no problem with it, but I need is the ip addresses for each...

read more

CsV_Format

Hi, This little script generates csv file that contains services then add this data to the already existing (append to) host.csv (host contains...

read more