Skip to content

Add pssa linting ci - test PR to test CI #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: test-ci
Choose a base branch
from

Conversation

jantari
Copy link
Owner

@jantari jantari commented Oct 1, 2021

No description provided.

@github-actions
Copy link

github-actions bot commented Oct 1, 2021

PSScriptAnalyzer results as of this commit:

  • 5 Information
  • 147 Warning
  • 3 Error
  • 2 ParseError
See details
Location : ./TOOL-New-Password/New-Password.ps1 [45, 14]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'Length' has been declared but not used. 

Location : ./TOOL-New-Password/New-Password.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-Password' has verb that could change system state. Therefore, t
           he function has to support 'ShouldProcess'.

Location : ./TOOL-Get-ComputerOS/Get-ComputerOS.ps1 [81, 34]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-ComputerOS.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use 
           CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets c
           omply with WS-Management (WSMan) standards and with the Common Information Mo
           del (CIM) standard, which enables the cmdlets to use the same techniques to m
           anage Windows computers and those running other operating systems.

Location : ./SCCM-Remove-SCCMUserDeviceAffinity/Remove-SCCMUserDeviceAffinity.ps1 [1, 10
           ]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-SCCMUserDeviceAffinity' has verb that could change system st
           ate. Therefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-PSObjectProperty/Remove-PSObjectProperty.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-PSObjectProperty' has verb that could change system state. T
           herefore, the function has to support 'ShouldProcess'.

Location : ./SCSM-Get-SCSMWorkItemChildItem/Get-SCSMWorkItemChildItemRA.ps1 [8, 1]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'childWI_ReviewerisUser_Class_obj' is assigned but never used.

Location : ./SCSM-Get-SCSMWorkItemChildItem/Get-SCSMWorkItemChildItemRA.ps1 [10, 1]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'childWI_reviewers' is assigned but never used.

Location : ./SCSM-Get-SCSMWorkItemChildItem/Get-SCSMWorkItemChildItem.ps1 [28, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'childWIs_relobj_filter' is assigned but never used.

Location : ./SCCM-Set-SCCMClientCacheLocation/Set-SCCMClientCacheLocation.ps1 [63, 22]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Set-SCCMClientCacheLocation.ps1' uses WMI cmdlet. For PowerShell 3.0 an
           d above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The 
           CIM cmdlets comply with WS-Management (WSMan) standards and with the Common I
           nformation Model (CIM) standard, which enables the cmdlets to use the same te
           chniques to manage Windows computers and those running other operating system
           s.

Location : ./SCCM-Set-SCCMClientCacheLocation/Set-SCCMClientCacheLocation.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-SCCMClientCacheLocation' has verb that could change system stat
           e. Therefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Out-Excel/Out-Excel.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Out-Excel.ps1'

Location : ./AD-SITE-Get-ADSiteInventory/Get-ADSiteInventory.ps1 [78, 54]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'info' is assigned but never used.

Location : ./TOOL-Test-RemoteDesktopIsEnabled/Test-RemoteDesktopIsEnabled.ps1 [38, 27]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Test-RemoteDesktopIsEnabled.ps1' uses WMI cmdlet. For PowerShell 3.0 an
           d above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The 
           CIM cmdlets comply with WS-Management (WSMan) standards and with the Common I
           nformation Model (CIM) standard, which enables the cmdlets to use the same te
           chniques to manage Windows computers and those running other operating system
           s.

Location : ./TOOL-ConvertFrom-Base64/ConvertFrom-Base64.ps1 [26, 17]
RuleName : PSUseProcessBlockForPipelineCommand
Severity : Warning
Message  : Command accepts pipeline input but has not defined a process block.

Location : ./AD-USER-Get-ADDirectReport/Get-ADDirectReport.ps1 [1, 10]
RuleName : PSUseSingularNouns
Severity : Warning
Message  : The cmdlet 'Get-ADDirectReports' uses a plural noun. A singular noun should b
           e used instead.

Location : ./VMware-STORAGE-Get-VMhostHbaInfo/Get-VMhostHbaInfo.ps1 [200, 56]
RuleName : PSAvoidUsingInvokeExpression
Severity : Warning
Message  : Invoke-Expression is used. Please remove Invoke-Expression from script and fi
           nd other options instead.

Location : ./VMware-STORAGE-Get-VMhostHbaInfo/Get-VMhostHbaInfo.ps1 [137, 9]
RuleName : PSAvoidUsingPlainTextForPassword
Severity : Warning
Message  : Parameter '$Password' should use SecureString, otherwise this will expose sen
           sitive information. See ConvertTo-SecureString for more information.

Location : ./VMware-STORAGE-Get-VMhostHbaInfo/Get-VMhostHbaInfo.ps1 [151, 23]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:DefaultVIServer'.

Location : ./VMware-STORAGE-Get-VMhostHbaInfo/Get-VMhostHbaInfo.ps1 [133, 9]
RuleName : PSAvoidUsingUsernameAndPasswordParams
Severity : Error
Message  : Function 'Get-VMhostHbaInfo' has both Username and Password parameters. Eithe
           r set the type of the Password parameter to SecureString or replace the Usern
           ame and Password parameters with a Credential parameter of type PSCredential.
            If using a Credential parameter in PowerShell 4.0 or earlier, please define 
           a credential transformation attribute after the PSCredential type attribute.

Location : ./SCCM-New-SCCMTSAppVariable/New-SCCMTSAppVariable.ps1 [32, 17]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'BaseVariableName' has been declared but not used. 

Location : ./SCCM-New-SCCMTSAppVariable/New-SCCMTSAppVariable.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-SCCMTSAppVariable' has verb that could change system state. The
           refore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Start-KeyLogger/Start-KeyLogger.ps1 [33, 9]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Start-KeyLogger.ps1' uses Write-Host. Avoid using Write-Host because it
            might not work in all hosts, does not work when there is no host, and (prior
            to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write
           -Output, Write-Verbose, or Write-Information.

Location : ./TOOL-Start-KeyLogger/Start-KeyLogger.ps1 [54, 21]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'checkkbstate' is assigned but never used.

Location : ./TOOL-Start-KeyLogger/Start-KeyLogger.ps1 [2, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Start-KeyLogger' has verb that could change system state. Therefore
           , the function has to support 'ShouldProcess'.

Location : ./AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
            [112, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'ReportDateFormat' is assigned but never used.

Location : ./AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
            [115, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'ReportTitle' is assigned but never used.

Location : ./AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
            [119, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'Report' is assigned but never used.

Location : ./AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
            [156, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'Head2' is assigned but never used.

Location : ./AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
            [163, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'TableCSS' is assigned but never used.

Location : ./AZURE-APIM-Publish_API_Definitions_Swagger/AZURE-APIM-Publish_API_Definitio
           ns_Swagger.ps1 [48, 31]
RuleName : MissingExpressionAfterToken
Severity : ParseError
Message  : Missing expression after ','.

Location : ./TOOL-ConvertTo-Base64/ConvertTo-Base64.ps1 [30, 17]
RuleName : PSUseProcessBlockForPipelineCommand
Severity : Warning
Message  : Command accepts pipeline input but has not defined a process block.

Location : ./TOOL-ConvertTo-Base64/ConvertTo-Base64.ps1 [33, 5]
RuleName : PSUseOutputTypeCorrectly
Severity : Information
Message  : The cmdlet 'ConvertTo-Base64' returns an object of type 'System.String' but t
           his type is not declared in the OutputType attribute.

Location : ./AD-COMPUTER-New-ADDomainJoin/New-ADDomainJoin.ps1 [711, 9]
RuleName : PSUseOutputTypeCorrectly
Severity : Information
Message  : The cmdlet 'New-ADDomainJoin' returns an object of type 'System.String' but t
           his type is not declared in the OutputType attribute.

Location : ./AD-COMPUTER-New-ADDomainJoin/New-ADDomainJoin.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-ADDomainJoin' has verb that could change system state. Therefor
           e, the function has to support 'ShouldProcess'.

Location : ./TOOL-Get-ISEShortcut/Get-ISEShortcut.ps1 [29, 11]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'Key' has been declared but not used. 

Location : ./TOOL-Get-ISEShortcut/Get-ISEShortcut.ps1 [29, 17]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'Name' has been declared but not used. 

Location : ./TOOL-Get-LogFast/Get-LogFast.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Get-LogFast.ps1'

Location : ./AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1 [297, 17]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:ADModule'.

Location : ./AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1 [301, 17]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:ADModule'.

Location : ./AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1 [312, 17]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:QuestADSnappin'.

Location : ./AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1 [286, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'ReportDateFormat' is assigned but never used.

Location : ./SCSM-Get-SCSMServiceRequestComment/Get-SCSMServiceRequestComment.ps1 [36, 9
           ]
RuleName : PSAvoidDefaultValueForMandatoryParameter
Severity : Warning
Message  : Mandatory Parameter 'DateTime' is initialized in the Param block. To fix a vi
           olation of this rule, please leave it uninitialized.

Location : ./SCSM-Get-SCSMServiceRequestComment/Get-SCSMServiceRequestComment.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Get-SCSMServiceRequestCommen
           t.ps1'

Location : ./SCSM-Set-SCSMMAStatus/SCSM-Set-SCSMMAStatus.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-SCSMMAStatus' has verb that could change system state. Therefor
           e, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-PSObjectEmptyOrNullProperty/Remove-PSObjectEmptyOrNullProperty.
           ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-PSObjectEmptyOrNullProperty' has verb that could change syst
           em state. Therefore, the function has to support 'ShouldProcess'.

Location : ./AD-SITE-Get_Site_and_Subnets/Get-ADSiteAndSubnet.ps1 [36, 13]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'ForestContext' is assigned but never used.

Location : ./TOOL-New-CimSmartSession/New-CimSmartSession.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-CimSmartSession' has verb that could change system state. There
           fore, the function has to support 'ShouldProcess'.

Location : ./TOOL-New-DjoinFile/New-DjoinFile.ps1 [40, 29]
RuleName : PSAvoidDefaultValueForMandatoryParameter
Severity : Warning
Message  : Mandatory Parameter 'DestinationFile' is initialized in the Param block. To f
           ix a violation of this rule, please leave it uninitialized.

Location : ./TOOL-New-DjoinFile/New-DjoinFile.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-DjoinFile' has verb that could change system state. Therefore, 
           the function has to support 'ShouldProcess'.

Location : ./SCCM-Add-SCCMUserDeviceAffinity/Add-SCCMUserDeviceAffinity.ps1 [73, 24]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Add-SCCMUserDeviceAffinity.ps1' uses WMI cmdlet. For PowerShell 3.0 and
            above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The C
           IM cmdlets comply with WS-Management (WSMan) standards and with the Common In
           formation Model (CIM) standard, which enables the cmdlets to use the same tec
           hniques to manage Windows computers and those running other operating systems
           .

Location : ./SCCM-Add-SCCMUserDeviceAffinity/Add-SCCMUserDeviceAffinity.ps1 [79, 5]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Add-SCCMUserDeviceAffinity.ps1' uses WMI cmdlet. For PowerShell 3.0 and
            above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The C
           IM cmdlets comply with WS-Management (WSMan) standards and with the Common In
           formation Model (CIM) standard, which enables the cmdlets to use the same tec
           hniques to manage Windows computers and those running other operating systems
           .

Location : ./_Profiles/Microsoft.PowerShell_profile.ps1 [18, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Microsoft.PowerShell_profile.ps1' uses Write-Host. Avoid using Write-Ho
           st because it might not work in all hosts, does not work when there is no hos
           t, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Inste
           ad, use Write-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/Microsoft.PowerShell_profile.ps1 [21, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Microsoft.PowerShell_profile.ps1' uses Write-Host. Avoid using Write-Ho
           st because it might not work in all hosts, does not work when there is no hos
           t, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Inste
           ad, use Write-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/Microsoft.PowerShell_profile.ps1 [75, 44]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'OneDriveRoot' is assigned but never used.

Location : ./_Profiles/functions/connect-office365.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'connect-office365.ps1'

Location : ./_Profiles/functions/Test-DatePattern.ps1 [5, 5]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Test-DatePattern.ps1' uses Write-Host. Avoid using Write-Host because i
           t might not work in all hosts, does not work when there is no host, and (prio
           r to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Writ
           e-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Test-DatePattern.ps1 [18, 5]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Test-DatePattern.ps1' uses Write-Host. Avoid using Write-Host because i
           t might not work in all hosts, does not work when there is no host, and (prio
           r to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Writ
           e-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Launch-AzurePortal.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'Launch-AzurePortal' uses an unapproved verb.

Location : ./_Profiles/functions/View-Cats.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'View-Cats' uses an unapproved verb.

Location : ./_Profiles/functions/View-Cats.ps1 [1, 10]
RuleName : PSUseSingularNouns
Severity : Warning
Message  : The cmdlet 'View-Cats' uses a plural noun. A singular noun should be used ins
           tead.

Location : ./_Profiles/functions/Launch-ExchangeOnline.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'Launch-ExchangeOnline' uses an unapproved verb.

Location : ./_Profiles/functions/Find-Apartment.ps1 [15, 5]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'AvailableRooms' is assigned but never used.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [1, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [3, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [5, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [7, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [9, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-UsefulNetMethod.ps1 [11, 1]
RuleName : PSAvoidUsingWriteHost
Severity : Warning
Message  : File 'Get-UsefulNetMethod.ps1' uses Write-Host. Avoid using Write-Host becaus
           e it might not work in all hosts, does not work when there is no host, and (p
           rior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use W
           rite-Output, Write-Verbose, or Write-Information.

Location : ./_Profiles/functions/Get-NetAccelerator.ps1 [1, 10]
RuleName : PSUseSingularNouns
Severity : Warning
Message  : The cmdlet 'Get-Accelerators' uses a plural noun. A singular noun should be u
           sed instead.

Location : ./_Profiles/functions/Launch-InternetExplorer.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'Launch-InternetExplorer' uses an unapproved verb.

Location : ./_Profiles/functions/show-object.ps1 [136, 15]
RuleName : PSAvoidAssignmentToAutomaticVariable
Severity : Warning
Message  : The Variable 'Sender' is an automatic variable that is built into PowerShell,
            assigning to it might have undesired side effects. If assignment is not by d
           esign, please use a different name.

Location : ./_Profiles/functions/show-object.ps1 [160, 15]
RuleName : PSAvoidAssignmentToAutomaticVariable
Severity : Warning
Message  : The Variable 'Sender' is an automatic variable that is built into PowerShell,
            assigning to it might have undesired side effects. If assignment is not by d
           esign, please use a different name.

Location : ./_Profiles/functions/show-object.ps1 [191, 15]
RuleName : PSAvoidAssignmentToAutomaticVariable
Severity : Warning
Message  : The Variable 'Sender' is an automatic variable that is built into PowerShell,
            assigning to it might have undesired side effects. If assignment is not by d
           esign, please use a different name.

Location : ./_Profiles/functions/show-object.ps1 [27, 9]
RuleName : PSUseProcessBlockForPipelineCommand
Severity : Warning
Message  : Command accepts pipeline input but has not defined a process block.

Location : ./_Profiles/functions/show-object.ps1 [147, 25]
RuleName : PSAvoidUsingInvokeExpression
Severity : Warning
Message  : Invoke-Expression is used. Please remove Invoke-Expression from script and fi
           nd other options instead.

Location : ./_Profiles/functions/show-object.ps1 [181, 9]
RuleName : PSAvoidUsingInvokeExpression
Severity : Warning
Message  : Invoke-Expression is used. Please remove Invoke-Expression from script and fi
           nd other options instead.

Location : ./_Profiles/functions/show-object.ps1 [136, 24]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'TreeViewEventArgs' has been declared but not used. 

Location : ./_Profiles/functions/show-object.ps1 [160, 15]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'Sender' has been declared but not used. 

Location : ./_Profiles/functions/Launch-Office365Admin.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'Launch-Office365Admin' uses an unapproved verb.

Location : ./_Profiles/functions/Test-ADCredential.ps1 [2, 11]
RuleName : PSAvoidUsingUsernameAndPasswordParams
Severity : Error
Message  : Function 'Test-ADCredential' has both Username and Password parameters. Eithe
           r set the type of the Password parameter to SecureString or replace the Usern
           ame and Password parameters with a Credential parameter of type PSCredential.
            If using a Credential parameter in PowerShell 4.0 or earlier, please define 
           a credential transformation attribute after the PSCredential type attribute.

Location : ./_Profiles/functions/Test-ADCredential.ps1 [2, 22]
RuleName : PSAvoidUsingPlainTextForPassword
Severity : Warning
Message  : Parameter '$password' should use SecureString, otherwise this will expose sen
           sitive information. See ConvertTo-SecureString for more information.

Location : ./SCSM-Get-SCSMIncidentRequestComment/Get-SCSMIncidentRequestComment.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Get-SCSMIncidentRequestComme
           nt.ps1'

Location : ./TOOL-Remove-StringLatinCharacter/Remove-StringLatinCharacter.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-StringLatinCharacter' has verb that could change system stat
           e. Therefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-StringLatinCharacter/Remove-StringLatinCharacter.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Remove-StringLatinCharacter.
           ps1'

Location : ./AZURE-Get-AzureIPRangesAndServiceTags/Get-AzureIPRangesAndServiceTags.ps1 [
           1, 10]
RuleName : PSUseSingularNouns
Severity : Warning
Message  : The cmdlet 'Get-AzureIPRangesAndServiceTags' uses a plural noun. A singular n
           oun should be used instead.

Location : ./TOOL-Get-AsciiReaction/Get-AsciiReaction.ps1 [56, 21]
RuleName : PSUseProcessBlockForPipelineCommand
Severity : Warning
Message  : Command accepts pipeline input but has not defined a process block.

Location : ./TOOL-Get-AsciiReaction/Get-AsciiReaction.ps1 [56, 21]
RuleName : PSUseProcessBlockForPipelineCommand
Severity : Warning
Message  : Command accepts pipeline input but has not defined a process block.

Location : ./TOOL-Get-ComputerInfo/Get-ComputerInfo.ps1 [3, 1]
RuleName : PSAvoidOverwritingBuiltInCmdlets
Severity : Warning
Message  : 'Get-ComputerInfo' is a cmdlet that is included with PowerShell (version core
           -6.1.0-windows) whose definition should not be overridden

Location : ./TOOL-Get-ComputerInfo/Get-ComputerInfo.ps1 [166, 36]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-ComputerInfo.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, us
           e CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets
            comply with WS-Management (WSMan) standards and with the Common Information 
           Model (CIM) standard, which enables the cmdlets to use the same techniques to
            manage Windows computers and those running other operating systems.

Location : ./TOOL-Get-ComputerInfo/Get-ComputerInfo.ps1 [170, 35]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-ComputerInfo.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, us
           e CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets
            comply with WS-Management (WSMan) standards and with the Common Information 
           Model (CIM) standard, which enables the cmdlets to use the same techniques to
            manage Windows computers and those running other operating systems.

Location : ./TOOL-Get-ComputerInfo/Get-ComputerInfo.ps1 [174, 31]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-ComputerInfo.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, us
           e CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets
            comply with WS-Management (WSMan) standards and with the Common Information 
           Model (CIM) standard, which enables the cmdlets to use the same techniques to
            manage Windows computers and those running other operating systems.

Location : ./SCSM-Get-SCSMUserManager/Get-SCSMUserManager.ps1 [21, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'managerOfAffectedUser_obj' is assigned but never used.

Location : ./TOOL-Get-PendingReboot/Get-PendingReboot.ps1 [106, 27]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-PendingReboot.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, u
           se CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlet
           s comply with WS-Management (WSMan) standards and with the Common Information
            Model (CIM) standard, which enables the cmdlets to use the same techniques t
           o manage Windows computers and those running other operating systems.

Location : ./TOOL-Get-PendingReboot/Get-PendingReboot.ps1 [150, 37]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-PendingReboot.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, u
           se CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlet
           s comply with WS-Management (WSMan) standards and with the Common Information
            Model (CIM) standard, which enables the cmdlets to use the same techniques t
           o manage Windows computers and those running other operating systems.

Location : ./SCCM-Set-SCCMClientCacheSize/Set-SCCMClientCacheSize.ps1 [63, 22]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Set-SCCMClientCacheSize.ps1' uses WMI cmdlet. For PowerShell 3.0 and ab
           ove, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM 
           cmdlets comply with WS-Management (WSMan) standards and with the Common Infor
           mation Model (CIM) standard, which enables the cmdlets to use the same techni
           ques to manage Windows computers and those running other operating systems.

Location : ./SCCM-Set-SCCMClientCacheSize/Set-SCCMClientCacheSize.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-SCCMClientCacheSize' has verb that could change system state. T
           herefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Get-Uptime/Get-Uptime.ps1 [1, 1]
RuleName : PSAvoidOverwritingBuiltInCmdlets
Severity : Warning
Message  : 'Get-Uptime' is a cmdlet that is included with PowerShell (version core-6.1.0
           -windows) whose definition should not be overridden

Location : ./TOOL-Get-Uptime/Get-Uptime.ps1 [143, 35]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-Uptime.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use CIM 
           cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets compl
           y with WS-Management (WSMan) standards and with the Common Information Model 
           (CIM) standard, which enables the cmdlets to use the same techniques to manag
           e Windows computers and those running other operating systems.

Location : ./VMWARE-HOST-List_VIB/VMWARE-HOST-List_VIB.ps1 [44, 19]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:DefaultVIServer'.

Location : ./TOOL-Get-LocalUser/Get-LocalUser.ps1 [53, 13]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-LocalUser.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use C
           IM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets co
           mply with WS-Management (WSMan) standards and with the Common Information Mod
           el (CIM) standard, which enables the cmdlets to use the same techniques to ma
           nage Windows computers and those running other operating systems.

Location : ./O365-Connect-Office365/Connect-Office365.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Connect-Office365.ps1'

Location : ./TOOL-Set-RemoteDesktop/Set-RemoteDesktop.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-RemoteDesktop' has verb that could change system state. Therefo
           re, the function has to support 'ShouldProcess'.

Location : ./AD-OBJECT-Get-ADSITokenGroup/Get-ADSITokenGroup.ps1 [60, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'GroupList' is assigned but never used.

Location : ./TOOL-Get-LocalGroup/Get-LocalGroup.ps1 [53, 13]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-LocalGroup.ps1' uses WMI cmdlet. For PowerShell 3.0 and above, use 
           CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmdlets c
           omply with WS-Management (WSMan) standards and with the Common Information Mo
           del (CIM) standard, which enables the cmdlets to use the same techniques to m
           anage Windows computers and those running other operating systems.

Location : ./TOOL-Get-HelpMessage/Get-HelpMessage.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Get-HelpMessage.ps1'

Location : ./TOOL-Get-HelpMessage/Get-HelpMessage.ps1 [41, 9]
RuleName : PSUseOutputTypeCorrectly
Severity : Information
Message  : The cmdlet 'Get-HelpMessage' returns an object of type 'System.ComponentModel
           .Win32Exception' but this type is not declared in the OutputType attribute.

Location : ./TOOL-Set-NetworkLevelAuthentication/Set-NetworkLevelAuthentication.ps1 [1, 
           10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-NetworkLevelAuthentication' has verb that could change system s
           tate. Therefore, the function has to support 'ShouldProcess'.

Location : ./AZURE-Policy-Invoke-ComplianceEvaluation/Invoke-ComplianceEvaluation.ps1 [4
           1, 1]
RuleName : PSAvoidTrailingWhitespace
Severity : Information
Message  : Line has trailing whitespace

Location : ./AZURE-Get-PolicyComplianceData/Get-PolicyComplianceData.ps1 [76, 102]
RuleName : MissingEqualsInHashLiteral
Severity : ParseError
Message  : Missing '=' operator after key in hash literal.

Location : ./TOOL-New-RandomPassword/New-RandomPassword.ps1 [46, 16]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'Length' has been declared but not used. 

Location : ./TOOL-New-RandomPassword/New-RandomPassword.ps1 [48, 16]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'NumberOfNonAlphanumericCharacters' has been declared but not u
           sed. 

Location : ./TOOL-New-RandomPassword/New-RandomPassword.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-RandomPassword' has verb that could change system state. Theref
           ore, the function has to support 'ShouldProcess'.

Location : ./SCSM-Add-SCSMServiceRequestComment/Add-SCSMServiceRequestComment.ps1 [46, 1
           3]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'CommentClassName' is assigned but never used.

Location : ./SCCM-Get-SCCMDeviceCollectionDeployment/Get-SCCMDeviceCollectionDeployment.
           ps1 [134, 23]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMDeviceCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell
            3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlet
           s. The CIM cmdlets comply with WS-Management (WSMan) standards and with the C
           ommon Information Model (CIM) standard, which enables the cmdlets to use the 
           same techniques to manage Windows computers and those running other operating
            systems.

Location : ./SCCM-Get-SCCMDeviceCollectionDeployment/Get-SCCMDeviceCollectionDeployment.
           ps1 [137, 13]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMDeviceCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell
            3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlet
           s. The CIM cmdlets comply with WS-Management (WSMan) standards and with the C
           ommon Information Model (CIM) standard, which enables the cmdlets to use the 
           same techniques to manage Windows computers and those running other operating
            systems.

Location : ./SCCM-Get-SCCMDeviceCollectionDeployment/Get-SCCMDeviceCollectionDeployment.
           ps1 [140, 32]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMDeviceCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell
            3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlet
           s. The CIM cmdlets comply with WS-Management (WSMan) standards and with the C
           ommon Information Model (CIM) standard, which enables the cmdlets to use the 
           same techniques to manage Windows computers and those running other operating
            systems.

Location : ./SCCM-Get-SCCMDeviceCollectionDeployment/Get-SCCMDeviceCollectionDeployment.
           ps1 [145, 41]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMDeviceCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell
            3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlet
           s. The CIM cmdlets comply with WS-Management (WSMan) standards and with the C
           ommon Information Model (CIM) standard, which enables the cmdlets to use the 
           same techniques to manage Windows computers and those running other operating
            systems.

Location : ./SCCM-Get-SCCMDeviceCollectionDeployment/Get-SCCMDeviceCollectionDeployment.
           ps1 [149, 41]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMDeviceCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell
            3.0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlet
           s. The CIM cmdlets comply with WS-Management (WSMan) standards and with the C
           ommon Information Model (CIM) standard, which enables the cmdlets to use the 
           same techniques to manage Windows computers and those running other operating
            systems.

Location : ./TOOL-Disable-RemoteDesktop/Disable-RemoteDesktop.ps1 [150, 30]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Disable-RemoteDesktop.ps1' uses WMI cmdlet. For PowerShell 3.0 and abov
           e, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cm
           dlets comply with WS-Management (WSMan) standards and with the Common Informa
           tion Model (CIM) standard, which enables the cmdlets to use the same techniqu
           es to manage Windows computers and those running other operating systems.

Location : ./O365-Update-O365UserUPNSuffix/Update-O365UserUPNSuffix.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Update-O365UserUPNSuffix' has verb that could change system state. 
           Therefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Enable-RemoteDesktop/Enable-RemoteDesktop.ps1 [151, 30]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Enable-RemoteDesktop.ps1' uses WMI cmdlet. For PowerShell 3.0 and above
           , use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM cmd
           lets comply with WS-Management (WSMan) standards and with the Common Informat
           ion Model (CIM) standard, which enables the cmdlets to use the same technique
           s to manage Windows computers and those running other operating systems.

Location : ./TOOL-New-ScriptMessage/New-ScriptMessage.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-ScriptMessage' has verb that could change system state. Therefo
           re, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-HashTableEmptyValue/Remove-HashTableEmptyValue.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-HashTableEmptyValue' has verb that could change system state
           . Therefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-StringSpecialCharacter/Remove-StringSpecialCharacter.ps1 [1, 10
           ]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-StringSpecialCharacter' has verb that could change system st
           ate. Therefore, the function has to support 'ShouldProcess'.

Location : ./AD-COMPUTER-Get-DomainComputer/Get-DomainComputer.ps1 [85, 9]
RuleName : PSAvoidUsingPlainTextForPassword
Severity : Warning
Message  : Parameter '$Credential' should use SecureString, otherwise this will expose s
           ensitive information. See ConvertTo-SecureString for more information.

Location : ./AD-COMPUTER-Get-DomainComputer/Get-DomainComputer.ps1 [85, 9]
RuleName : PSUsePSCredentialType
Severity : Warning
Message  : The Credential parameter found in the script block must be of type PSCredenti
           al. For PowerShell 4.0 and earlier please define a credential transformation 
           attribute, e.g. [System.Management.Automation.Credential()], after the PSCred
           ential type attribute. 

Location : ./SCCM-Get-SCCMClientCacheInformation/Get-SCCMClientCacheInformation.ps1 [56,
            13]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMClientCacheInformation.ps1' uses WMI cmdlet. For PowerShell 3.0
            and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. T
           he CIM cmdlets comply with WS-Management (WSMan) standards and with the Commo
           n Information Model (CIM) standard, which enables the cmdlets to use the same
            techniques to manage Windows computers and those running other operating sys
           tems.

Location : ./SCCM-Add-SCCMGroupDeviceAffinity/Add-SCCMGroupDeviceAffinity.ps1 [76, 24]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Add-SCCMGroupDeviceAffinity.ps1' uses WMI cmdlet. For PowerShell 3.0 an
           d above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The 
           CIM cmdlets comply with WS-Management (WSMan) standards and with the Common I
           nformation Model (CIM) standard, which enables the cmdlets to use the same te
           chniques to manage Windows computers and those running other operating system
           s.

Location : ./SCCM-Add-SCCMGroupDeviceAffinity/Add-SCCMGroupDeviceAffinity.ps1 [82, 5]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Add-SCCMGroupDeviceAffinity.ps1' uses WMI cmdlet. For PowerShell 3.0 an
           d above, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The 
           CIM cmdlets comply with WS-Management (WSMan) standards and with the Common I
           nformation Model (CIM) standard, which enables the cmdlets to use the same te
           chniques to manage Windows computers and those running other operating system
           s.

Location : ./AD-TOOL-Test-ADCredential/Test-ADCredential.ps1 [22, 9]
RuleName : PSAvoidUsingUsernameAndPasswordParams
Severity : Error
Message  : Function 'Test-ADCredential' has both Username and Password parameters. Eithe
           r set the type of the Password parameter to SecureString or replace the Usern
           ame and Password parameters with a Credential parameter of type PSCredential.
            If using a Credential parameter in PowerShell 4.0 or earlier, please define 
           a credential transformation attribute after the PSCredential type attribute.

Location : ./AD-TOOL-Test-ADCredential/Test-ADCredential.ps1 [6, 7]
RuleName : PSAvoidTrailingWhitespace
Severity : Information
Message  : Line has trailing whitespace

Location : ./AD-TOOL-Test-ADCredential/Test-ADCredential.ps1 [23, 9]
RuleName : PSAvoidUsingPlainTextForPassword
Severity : Warning
Message  : Parameter '$Password' should use SecureString, otherwise this will expose sen
           sitive information. See ConvertTo-SecureString for more information.

Location : ./TOOL-Set-PowerShellWindowTitle/Set-PowerShellWindowTitle.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Set-PowerShellWindowTitle' has verb that could change system state.
            Therefore, the function has to support 'ShouldProcess'.

Location : ./SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1 
           [107, 17]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMUserCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell 3
           .0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets.
            The CIM cmdlets comply with WS-Management (WSMan) standards and with the Com
           mon Information Model (CIM) standard, which enables the cmdlets to use the sa
           me techniques to manage Windows computers and those running other operating s
           ystems.

Location : ./SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1 
           [110, 9]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMUserCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell 3
           .0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets.
            The CIM cmdlets comply with WS-Management (WSMan) standards and with the Com
           mon Information Model (CIM) standard, which enables the cmdlets to use the sa
           me techniques to manage Windows computers and those running other operating s
           ystems.

Location : ./SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1 
           [114, 32]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMUserCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell 3
           .0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets.
            The CIM cmdlets comply with WS-Management (WSMan) standards and with the Com
           mon Information Model (CIM) standard, which enables the cmdlets to use the sa
           me techniques to manage Windows computers and those running other operating s
           ystems.

Location : ./SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1 
           [121, 41]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMUserCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell 3
           .0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets.
            The CIM cmdlets comply with WS-Management (WSMan) standards and with the Com
           mon Information Model (CIM) standard, which enables the cmdlets to use the sa
           me techniques to manage Windows computers and those running other operating s
           ystems.

Location : ./SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1 
           [124, 41]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'Get-SCCMUserCollectionDeployment.ps1' uses WMI cmdlet. For PowerShell 3
           .0 and above, use CIM cmdlet which perform the same tasks as the WMI cmdlets.
            The CIM cmdlets comply with WS-Management (WSMan) standards and with the Com
           mon Information Model (CIM) standard, which enables the cmdlets to use the sa
           me techniques to manage Windows computers and those running other operating s
           ystems.

Location : ./AD-GROUP-Get-NestedMember/AD-GROUP-Get-NestedMember.ps1 [32, 17]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'RelationShipPath' has been declared but not used. 

Location : ./AD-GROUP-Get-NestedMember/AD-GROUP-Get-NestedMember.ps1 [33, 14]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'MaxDepth' has been declared but not used. 

Location : ./TOOL-Clean-MacAddress/Clean-MacAddress.ps1 [1, 10]
RuleName : PSUseApprovedVerbs
Severity : Warning
Message  : The cmdlet 'Clean-MacAddress' uses an unapproved verb.

Location : ./tests/Add-LocalGroupMember.ps1 [18, 19]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'ComputerName' has been declared but not used. 

Location : ./tests/Add-LocalGroupMember.ps1 [20, 17]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'GroupName' has been declared but not used. 

Location : ./tests/Add-LocalGroupMember.ps1 [28, 9]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'ADCheck' is assigned but never used.

Location : ./tests/AD-TokenGroups_Test.ps1 [17, 13]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'domainName' is assigned but never used.

Location : ./SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1 [108, 37]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'New-SCCMDeviceVariable.ps1' uses WMI cmdlet. For PowerShell 3.0 and abo
           ve, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM c
           mdlets comply with WS-Management (WSMan) standards and with the Common Inform
           ation Model (CIM) standard, which enables the cmdlets to use the same techniq
           ues to manage Windows computers and those running other operating systems.

Location : ./SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1 [116, 42]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'New-SCCMDeviceVariable.ps1' uses WMI cmdlet. For PowerShell 3.0 and abo
           ve, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM c
           mdlets comply with WS-Management (WSMan) standards and with the Common Inform
           ation Model (CIM) standard, which enables the cmdlets to use the same techniq
           ues to manage Windows computers and those running other operating systems.

Location : ./SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1 [141, 41]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'New-SCCMDeviceVariable.ps1' uses WMI cmdlet. For PowerShell 3.0 and abo
           ve, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM c
           mdlets comply with WS-Management (WSMan) standards and with the Common Inform
           ation Model (CIM) standard, which enables the cmdlets to use the same techniq
           ues to manage Windows computers and those running other operating systems.

Location : ./SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1 [150, 42]
RuleName : PSAvoidUsingWMICmdlet
Severity : Warning
Message  : File 'New-SCCMDeviceVariable.ps1' uses WMI cmdlet. For PowerShell 3.0 and abo
           ve, use CIM cmdlet which perform the same tasks as the WMI cmdlets. The CIM c
           mdlets comply with WS-Management (WSMan) standards and with the Common Inform
           ation Model (CIM) standard, which enables the cmdlets to use the same techniq
           ues to manage Windows computers and those running other operating systems.

Location : ./SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'New-SCCMDeviceVariable' has verb that could change system state. Th
           erefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Remove-StringDiacritic/Remove-StringDiacritic.ps1 [, ]
RuleName : PSUseBOMForUnicodeEncodedFile
Severity : Warning
Message  : Missing BOM encoding for non-ASCII encoded file 'Remove-StringDiacritic.ps1'

Location : ./TOOL-Remove-StringDiacritic/Remove-StringDiacritic.ps1 [1, 10]
RuleName : PSUseShouldProcessForStateChangingFunctions
Severity : Warning
Message  : Function 'Remove-StringDiacritic' has verb that could change system state. Th
           erefore, the function has to support 'ShouldProcess'.

Location : ./TOOL-Invoke-Ping/Invoke-Ping.ps1 [401, 17]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:__bound'.

Location : ./TOOL-Invoke-Ping/Invoke-Ping.ps1 [404, 21]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:__bound'.

Location : ./TOOL-Invoke-Ping/Invoke-Ping.ps1 [432, 26]
RuleName : PSAvoidGlobalVars
Severity : Warning
Message  : Found global variable 'global:__bound'.

Location : ./TOOL-Invoke-Ping/Invoke-Ping.ps1 [602, 37]
RuleName : PSReviewUnusedParameter
Severity : Warning
Message  : The parameter 'IPV6' has been declared but not used. 

Location : ./TOOL-Invoke-Ping/Invoke-Ping.ps1 [254, 33]
RuleName : PSUseDeclaredVarsMoreThanAssignments
Severity : Warning
Message  : The variable 'timedOutTasks' is assigned but never used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant