From ca93c073cc0c715b33bdb08a22ec469898f58871 Mon Sep 17 00:00:00 2001 From: Baard Hermansen Date: Sat, 14 Mar 2026 14:35:55 +0100 Subject: [PATCH] Enhance Get-CMApplication documentation with hiding app info Added PowerShell commands to hide an application and updated output format. --- sccm-ps/ConfigurationManager/Get-CMApplication.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sccm-ps/ConfigurationManager/Get-CMApplication.md b/sccm-ps/ConfigurationManager/Get-CMApplication.md index 18d0ef20..e6252a5a 100644 --- a/sccm-ps/ConfigurationManager/Get-CMApplication.md +++ b/sccm-ps/ConfigurationManager/Get-CMApplication.md @@ -186,11 +186,11 @@ Add this parameter to show hidden applications. A hidden application has the **I To hide an application, use the following commands: - - +```powershell $app = Get-CMApplication -Name "test app" $app.IsHidden = $true $app.Put() +``` ```yaml Type: SwitchParameter @@ -205,16 +205,19 @@ Accept wildcard characters: False ``` ### CommonParameters + This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS ### Microsoft.ConfigurationManagement.ManagementProvider.IResultObject + ## OUTPUTS -### IResultObject[]#SMS_ApplicationLatest -### IResultObject#SMS_ApplicationLatest -### IResultObject#SMS_Application +### IResultObject\[]\#SMS_ApplicationLatest +### IResultObject\#SMS_ApplicationLatest +### IResultObject\#SMS_Application + ## NOTES For more information on these return object and their properties, see the following articles: