PowerShell Community

A place for the community to learn PowerShell and share insights

Latest posts

Sean Kearney
Sean Kearney
Apr 21, 2021

Borrowing a built-in PowerShell command to create a temporary folder

Q: Hey I have a question for you. It seems silly and I know I could probably put something together with Get-Random. But can you think of another way to create ...

6
0
@DoctorDNS
@DoctorDNS
Apr 15, 2021

Is a User a Local Administrator?

Q: Some of the things we do in our logon scripts require the user to be a local administrator. How can the script tell if the user is a local administrator or ...

7
1
@DoctorDNS
@DoctorDNS
Apr 2, 2021

Testing the connection to computers in the Active Directory

Q: As an administrator, I often have to do a lot of reporting on the servers in my domain. Is there a simple way to test the connection to every server in my ...

0
1
@DoctorDNS
@DoctorDNS
Mar 24, 2021

Can I Enable the Caps Lock Key?

Q: I have a script where users enter some information. This information needs to be entered in all capital letters, so my instructions say, “Please make sure ...

2
0
Wolfgang Groß
Wolfgang Groß
Mar 18, 2021

A Reusable File System Event Watcher for PowerShell

FSWatcherEngineEvent module provides events of file system changes as powershell engine event

2
3
Fabian Baumanis
Fabian Baumanis
Mar 13, 2021

Determine if a folder exists

Q: Is there any way to determine whether or not a specific folder exists on a computer? A: There are loads of ways you can do this. The Test-Path Cmdlet The ...

2
2
@DoctorDNS
@DoctorDNS
Mar 5, 2021

Reading a text file bottom up

Q: I have a log file in which new data is appended to the end of the file. That means the most recent entries are at the end of the file. I’d like to be able ...

5
1
Image windows git ssh png
DarwinJS
DarwinJS
Mar 1, 2021

Lightning Fast and Easy Provisioning of Git with SSH Key Authentication on Windows

Maybe you have a team of Windows developers that are onboarding for your new Git server installation or maybe you've decided to drop http password ...

3
0
Sam Turner
Sam Turner
Feb 27, 2021

Leveraging XML with New Employee PowerShell Scripts

using XML referencing to bolster up your new employee scripts with information.

2
1