Tag: Programming
-
Activate Azure roles and resources with PowerShell
My new PowerShell script, Request-AzureADRolesV4.ps1, simplifies managing roles and permissions in Azure Active Directory (Azure AD). It streamlines the process of requesting and assigning Azure AD roles, offering efficiency and reliability for IT professionals. Streamlined Azure Role Management Azure AD administrators often face the challenge of balancing security with ease of use. Assigning roles typically…
-
Storing secrets securly in Windows
One of the challenges with scripting / programming is securely storing passwords or API secrets across many different languages. Most of what i develop runs in Windows and as such it made sense to tap into the ProtectedData API and the Windows Registry. PowerShell Code Powershell Usage C# Code C# Usage Python Code Python Usage
-
PowerShell Anti-Idle Script
I developed a PowerShell script to prevent the system from idling, locking, or turning off the monitors. It will also ensure that the team’s idle will not trigger. AntiIdle.ps1 AntiIdleGUI.ps1
-
PowerShell exporting data easily from MsSQL into a CSV document
PowerShell has a module to assist with this, you can find out all the specifics at https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module. I was asked to pull data and export it to a CSV to save time, which is easy to do with Task Scheduler and PowerShell.