• Get-PSSessionCapability

    Exploring PowerShell’s Get-PSSessionCapability Cmdlet Welcome back to Wahmans PowerShell blog! Today we are diving into a useful little cmdlet that you might not use every day, but when you need it — it’s invaluable: Get-PSSessionCapability. What is Get-PSSessionCapability? According to Microsoft, the description is: Gets the capabilities of a specific user on a constrained session…

  • Clear-EventLog

    PowerShell Cmdlet Deep Dive: Clear-EventLog Welcome back to Wahmans PowerShell Blog! Today, we’re diving into a handy cmdlet that can help you maintain clean event logs on both local and remote Windows machines: Clear-EventLog. According to Microsoft, the Clear-EventLog cmdlet clears all entries from specified event logs on the local or remote computers. This is…

  • Clear-Variable

    PowerShell Cmdlet Deep Dive: Clear-Variable Welcome back to Wahman’s PowerShell Blog! Today we’re exploring a useful cmdlet that helps keep your scripting environment clean and organized. Let’s talk about Clear-Variable. What does Clear-Variable do? According to Microsoft, Clear-Variable “Deletes the value of a variable.” In simple terms, this cmdlet clears out the contents of a…

  • Where-Object

    Unlocking the Power of Where-Object Welcome back to Wahmans Powershell blog! Today we’re diving into one of the most frequently used and incredibly powerful cmdlets in the PowerShell toolbox: Where-Object. Where-Object allows you to filter objects in a collection based on the values of their properties. Officially, Microsoft describes it as: Selects objects from a…

  • Set-CimInstance

    Exploring Set-CimInstance in PowerShell Welcome back to Wahman’s PowerShell Blog! Today we’re diving into one of the powerful cmdlets that let you interact with system configuration using CIM (Common Information Model): Set-CimInstance. What is Set-CimInstance? Set-CimInstance is a cmdlet that allows you to modify properties of an existing CIM instance on a local or remote…

  • Export-PSSession

    Getting to Know Export-PSSession — A Powerful PowerShell Cmdlet Welcome back to Wahmans PowerShell Blog! Today, we’re taking a close look at a handy cmdlet that can really power up your remote PowerShell workflow: Export-PSSession. According to Microsoft, Export-PSSession “exports commands from another session and saves them in a PowerShell module.” This is useful when…