Set-​CM​Client​Setting​Software​Inventory

Sets a client setting software inventory

Syntax

Set-CMClientSettingSoftwareInventory
   [-AddCollectFile <Hashtable[]>]
   [-AddInventoryFileType <Hashtable[]>]
   [-CleanCollectFile]
   [-CleanInventoryFileType]
   [-Confirm]
   [-DefaultSetting]
   [-DisableWildcardHandling]
   [-Enable <Boolean>]
   [-FileDisplayName <String>]
   [-FileInventoriedName <String>]
   [-FileName <String>]
   [-ForceWildcardHandling]
   [-PassThru]
   [-RemoveCollectFile <Hashtable[]>]
   [-RemoveInventoryFileType <Hashtable[]>]
   [-ReportOption <ReportOptionType>]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
Set-CMClientSettingSoftwareInventory
   [-AddCollectFile <Hashtable[]>]
   [-AddInventoryFileType <Hashtable[]>]
   [-CleanCollectFile]
   [-CleanInventoryFileType]
   [-Confirm]
   [-DisableWildcardHandling]
   [-Enable <Boolean>]
   [-FileDisplayName <String>]
   [-FileInventoriedName <String>]
   [-FileName <String>]
   [-ForceWildcardHandling]
   -InputObject <IResultObject>
   [-PassThru]
   [-RemoveCollectFile <Hashtable[]>]
   [-RemoveInventoryFileType <Hashtable[]>]
   [-ReportOption <ReportOptionType>]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]
Set-CMClientSettingSoftwareInventory
   [-AddCollectFile <Hashtable[]>]
   [-AddInventoryFileType <Hashtable[]>]
   [-CleanCollectFile]
   [-CleanInventoryFileType]
   [-Confirm]
   [-DisableWildcardHandling]
   [-Enable <Boolean>]
   [-FileDisplayName <String>]
   [-FileInventoriedName <String>]
   [-FileName <String>]
   [-ForceWildcardHandling]
   -Name <String>
   [-PassThru]
   [-RemoveCollectFile <Hashtable[]>]
   [-RemoveInventoryFileType <Hashtable[]>]
   [-ReportOption <ReportOptionType>]
   [-Schedule <IResultObject>]
   [-WhatIf]
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Required Parameters

-DefaultSetting

{{Fill DefaultSetting Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

{{Fill InputObject Description}}

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

{{Fill Name Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AddCollectFile

{{Fill AddCollectFile Description}}

Type:Hashtable[]
Aliases:AddCollectFiles
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddInventoryFileType

{{Fill AddInventoryFileType Description}}

Type:Hashtable[]
Aliases:AddInventoryFileTypes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CleanCollectFile

{{Fill CleanCollectFile Description}}

Type:SwitchParameter
Aliases:CleanCollectFiles
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CleanInventoryFileType

{{Fill CleanInventoryFileType Description}}

Type:SwitchParameter
Aliases:CleanInventoryFileTypes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Enable

{{Fill Enable Description}}

Type:Boolean
Aliases:EnableSoftwareInventory
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileDisplayName

{{Fill FileDisplayName Description}}

Type:String
Aliases:SoftwareInventoryFileDisplayName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileInventoriedName

{{Fill FileInventoriedName Description}}

Type:String
Aliases:SoftwareInventoryFileInventoriedName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileName

{{Fill FileName Description}}

Type:String
Aliases:SoftwareInventoryFileName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveCollectFile

{{Fill RemoveCollectFile Description}}

Type:Hashtable[]
Aliases:RemoveCollectFiles
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveInventoryFileType

{{Fill RemoveInventoryFileType Description}}

Type:Hashtable[]
Aliases:RemoveInventoryFileTypes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReportOption

{{Fill ReportOption Description}}

Type:ReportOptionType
Parameter Sets:None, ProductOnly, FileOnly, FullDetail
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Schedule

{{Fill Schedule Description}}

Type:IResultObject
Aliases:InventorySchedule, SoftwareInventorySchedule
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object