Idera
Blogs, Articles, and Posts
Creating sudo for PowerShell (Part 2)
(community.idera.com)
In our effort to create a sudo command for PowerShell - to elevate individual commands - in part 1
By: Idera submitted:Jun 16 2022
In our effort to create a sudo command for PowerShell - to elevate individual commands - in part 1
we created the sudo function body:
By: Idera submitted:Jun 16 2022
Finding System Paths
(community.idera.com)
Occasionally, your script needs to know the path to the users' desktop, or to the start menu, etc.
By: Idera submitted:Jun 16 2022
Occasionally, your script needs to know the path to the users' desktop, or to the start menu, etc.
These paths can vary, especially when users use OneDrive. To find the current system path, use this line:
By: Idera submitted:Jun 16 2022
Quickly Initializing Multiple PowerShell Consoles
(community.idera.com)
Let's say you are admin in many areas, i.e. Azure, SharePoint, SQL, Microsoft 365, you name it. For
By: Idera submitted:Jun 16 2022
Let's say you are admin in many areas, i.e. Azure, SharePoint, SQL, Microsoft 365, you name it. For
each environment, you may need to run some prerequisites, log onto some systems, and run some commands until your PowerShell environment is ready for action.
By: Idera submitted:Jun 16 2022
Quickly Open PowerShell for Folder
(community.idera.com)
In Windows Explorer, when you navigate to a folder, you can easily open a classic cmd or a
By: Idera submitted:Jun 16 2022
In Windows Explorer, when you navigate to a folder, you can easily open a classic cmd or a
PowerShell console with the current folder set as current path.
By: Idera submitted:Jun 16 2022
Reading Last Logged-On User and Other Registry Values
(community.idera.com)
Reading some registry values with PowerShell is typically a snap: simply use Get-ItemProperty. This
By: Idera submitted:Jun 16 2022
Reading some registry values with PowerShell is typically a snap: simply use Get-ItemProperty. This
snippet of code reads the Windows operating system details, for example:
By: Idera submitted:Jun 16 2022
Sorting Tricks (Part 1)
(community.idera.com)
A lesser-known fact is that Sort-Object also accepts hash tables which gives you more control. For
By: Idera submitted:Jun 16 2022
A lesser-known fact is that Sort-Object also accepts hash tables which gives you more control. For
example...
By: Idera submitted:Jun 16 2022
Understanding REST Web Services in PowerShell
(community.idera.com)
There are many different types of web services, and PowerShell can access many of them using
By: Idera submitted:Jun 16 2022
There are many different types of web services, and PowerShell can access many of them using
Invoke-RestMethod. Here is a quick intro to get you started.
By: Idera submitted:Jun 16 2022
Fun
Translating Text to Morse Code
(community.idera.com)
Because why not 🙂
By: Idera submitted:Jun 16 2022
Because why not 🙂
By: Idera submitted:Jun 16 2022