Skip to content

Instantly share code, notes, and snippets.



Created Sep 7, 2020
What would you like to do?
cmpv function for PowerShell code analysis
$AutomaticVariables = Get-Variable
function cmpv {
Compare-Object (Get-Variable) $AutomaticVariables -Property Name -PassThru | Where -Property Name -ne "AutomaticVariables"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment