POSHScript: Generate JEA PowerShell Sessions report
Just Enough Administration (JEA) is a Microsoft Windows PowerShell toolkit that can restrict users to only perform tasks for which they are authorized as part Read More
Just Enough Administration (JEA) is a Microsoft Windows PowerShell toolkit that can restrict users to only perform tasks for which they are authorized as part Read More
It is important to follow the deployment of your DSC configurations and especially the compliance of your nodes. How would you know if a node has Read More
Sometimes you may want to enable logging for all PowerShell actions on your system. You can perform this action by Group Policy Object (GPO), and Read More
Sometimes you can get the following PowerShell error: Method invocation failed because [System.Management.Automation.PSObject] doesn’t contain a method named ‘op_Addition’. Example: $Update = $Searcher.QueryHistory(0, $historyCount) | Select-Object Read More
PoshTip #29 – How to count objects in PowerShell? The Measure-Object cmdlet gives us a great way to count objects. For example, if we want to count Read More
As I wrote in my previous article, managing Hyper-V from PowerShell is quite easy. You can: create, configure, and manage your virtual machines with few Read More
Découvrez Windows Powershell. Depuis plusieurs années, les versions de Windows intègrent le langage PowerShell nativement. Celui-ci est devenu au fil du temps bien plus qu’un “simple” Read More
PoshTip #28 – Generate Random Passwords First, import the System.Web assembly: Add-Type -AssemblyName System.Web and use the GeneratePassword function: [System.Web.Security.Membership]::GeneratePassword(10,5) GeneratePassword(x,y) x=Password length y=Number of Read More
Over time, user and computer accounts become obsolete and needs elimination. This script will check user accounts in a specific Organizational Unit and remove the Read More
PoshTip #27 – Get Inactive User Accounts in Active Directory Inactive Active Directory user accounts can pose a security risk to your organization. You can query Read More