Dela via


New-CMTaskSequenceMedia

SYNOPSIS

Skapar aktivitetssekvensmedia i Konfigurationshanteraren.

SYNTAX

NewBootableMedia (standard)

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>] [-BootableMedia]
 -BootImageDistributionPointServerName <String> -BootImageId <String>
 -BootImageManagementPointServerName <String[]> [-CommandDistributionPointServerName <String>]
 [-CommandIncludeFile <Boolean>] [-CommandPackageName <String>] [-CreateMediaSelfCertificate <Boolean>]
 [-DriveName <String>] [-EnablePrestartCommand <Boolean>] [-EnableUnknownSupport <Boolean>]
 [-ExpirationDate <DateTime>] [-ImportCertificatePassword <SecureString>] [-ImportCertificatePath <String>]
 -MediaInputType <MediaInputType> -MediaMode <MediaMode> -MediaPath <String> [-MediaSize <MediaSize>]
 [-Password <SecureString>] [-PrestartCommandLine <String>] -ProtectPassword <Boolean> [-StartDate <DateTime>]
 [-UserDeviceAffinity <UserDeviceAffinityType>] [-Variable <Hashtable>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewStandAloneMedia

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>]
 [-CommandDistributionPointServerName <String>] [-CommandIncludeFile <Boolean>] [-CommandPackageName <String>]
 [-DriveName <String>] [-EnablePrestartCommand <Boolean>] [-IncludeApplicationDependency <Boolean>]
 -MediaInputType <MediaInputType> -MediaPath <String> [-MediaSize <MediaSize>] [-Password <SecureString>]
 [-PrestartCommandLine <String>] -ProtectPassword <Boolean> [-StandaloneMedia]
 -TaskSequenceDistributionPointServerName <String[]> -TaskSequenceId <String> [-Variable <Hashtable>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewStandAloneMediaByValue

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>]
 [-CommandIncludeFile <Boolean>] [-CommandPackage <IResultObject>]
 [-CommandPackageDistributionPoint <IResultObject>] [-DriveName <String>] [-EnablePrestartCommand <Boolean>]
 [-IncludeApplicationDependency <Boolean>] [-MediaInputType <MediaInputType>] -MediaPath <String>
 [-MediaSize <MediaSize>] [-Password <SecureString>] [-PrestartCommandLine <String>]
 [-ProtectPassword <Boolean>] [-StandaloneMedia] -TaskSequence <IResultObject>
 -TaskSequenceDistributionPoint <IResultObject[]> [-Variable <Hashtable>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewBootableMediaByValue

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>] [-BootableMedia]
 -BootImage <IResultObject> -BootImageDistributionPoint <IResultObject>
 -BootImageManagementPoint <IResultObject[]> [-CommandIncludeFile <Boolean>] [-CommandPackage <IResultObject>]
 [-CommandPackageDistributionPoint <IResultObject>] [-CreateMediaSelfCertificate <Boolean>]
 [-DriveName <String>] [-EnablePrestartCommand <Boolean>] [-EnableUnknownSupport <Boolean>]
 [-ExpirationDate <DateTime>] [-ImportCertificatePassword <SecureString>] [-ImportCertificatePath <String>]
 [-MediaInputType <MediaInputType>] [-MediaMode <MediaMode>] -MediaPath <String> [-MediaSize <MediaSize>]
 [-Password <SecureString>] [-PrestartCommandLine <String>] [-ProtectPassword <Boolean>]
 [-StartDate <DateTime>] [-UserDeviceAffinity <UserDeviceAffinityType>] [-Variable <Hashtable>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

NewPrestagedMedia

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>]
 [-Application <IResultObject[]>] [-ApplicationName <String[]>] -BootImageDistributionPointServerName <String>
 -BootImageId <String> -BootImageManagementPointServerName <String[]>
 [-CommandDistributionPointServerName <String>] [-CommandIncludeFile <Boolean>] [-CommandPackageName <String>]
 [-Comment <String>] [-CreatedBy <String>] [-DriverPackage <IResultObject[]>] [-DriverPackageName <String[]>]
 -MediaMode <MediaMode> -MediaPath <String> -OperatingSystemImageDistributionPointServerName <String>
 [-OperatingSystemImageName <String>] [-OperatingSystemImagePackageId <String>] [-Package <IResultObject[]>]
 [-PackageName <String[]>] [-PrestagedMedia] [-PrestartCommandLine <String>] -ProtectPassword <Boolean>
 -TaskSequenceDistributionPointServerName <String[]> -TaskSequenceId <String> [-Variable <Hashtable>]
 [-Version <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

NewPrestagedMediaByValue

New-CMTaskSequenceMedia [-AllowUacPrompt] [-AllowUnattendedDeployment <Boolean>]
 [-Application <IResultObject[]>] -BootImage <IResultObject> -BootImageDistributionPoint <IResultObject>
 -BootImageManagementPoint <IResultObject[]> [-CommandIncludeFile <Boolean>] [-CommandPackage <IResultObject>]
 [-CommandPackageDistributionPoint <IResultObject>] [-Comment <String>] [-CreatedBy <String>]
 [-DriverPackage <IResultObject[]>] -MediaMode <MediaMode> -MediaPath <String>
 -OperatingSystemImageDistributionPoint <IResultObject> [-OperatingSystemImagePackage <IResultObject>]
 [-Package <IResultObject[]>] [-PrestagedMedia] [-PrestartCommandLine <String>] [-ProtectPassword <Boolean>]
 -TaskSequence <IResultObject> -TaskSequenceDistributionPoint <IResultObject[]> [-Variable <Hashtable>]
 [-Version <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

NewCaptureMediaByValue

New-CMTaskSequenceMedia [-AllowUacPrompt] -BootImage <IResultObject>
 -BootImageDistributionPoint <IResultObject> [-CaptureMedia] [-DriveName <String>]
 [-MediaInputType <MediaInputType>] -MediaPath <String> [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

NewCaptureMedia

New-CMTaskSequenceMedia [-AllowUacPrompt] -BootImageDistributionPointServerName <String> -BootImageId <String>
 [-CaptureMedia] [-DriveName <String>] -MediaInputType <MediaInputType> -MediaPath <String>
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Cmdleten New-CMTaskSequenceMedia skapar aktivitetssekvensmedia i Konfigurationshanteraren.

Anteckning

Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenheten, till exempel PS XYZ:\> . Mer information finns i Komma igång.

EXAMPLES

Exempel 1: Skapa aktivitetssekvensmedia med alternativet avbildat medium

PS XYZ:\> New-CMTaskSequenceMedia -CaptureMediaOption -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\1.iso" -MediaInputType CDDVD -BootImageName "Boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET"

Det här kommandot skapar aktivitetssekvensmedia genom att ange parametern CaptureMediaOption. Kommandot anger också ett värde för Parametern MediaPath och ett värde för parametern MediaInputType.

Exempel 2: Skapa aktivitetssekvensmedia med alternativet för fristående media

PS XYZ:\> $Group = @{"6"="8";}
PS XYZ:\> New-CMTaskSequenceMedia -StandAloneMediaOption -Variable $Group -MediaInputType CDDVD -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\111 - Copy.iso" -ProtectPassword 0 -TaskSequenceId "CCC0000B" -TaskSequenceDistributionPointServerName "\\Contoso320.Contoso319DOM.NET"

Det första kommandot skapar en mappning och lagrar sedan resultatet i $Group variabeln.

Det andra kommandot skapar aktivitetssekvensmedia genom att ange parametern StandAloneMediaOption.

Exempel 3: Skapa aktivitetssekvensmedia med alternativet startbart medium

PS XYZ:\> New-CMTaskSequenceMedia -BootableMediaOption -MediaInputType CDDVD -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\111 - Copy (6).iso" -MediaMode Dynamic -ProtectPassword 0 -BootImageName "boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET" -ManagementnPointNetworkOperatingSystemPath "Contoso320.Contoso319DOM.NET"

Det här kommandot skapar aktivitetssekvensmedia genom att ange parametern BootableMediaOption.

Exempel 4: Skapa aktivitetssekvensmedia med alternativet för förinstallerat medium

PS XYZ:\> New-CMTaskSequenceMedia -PrestagedMediaOption -MediaMode Dynamic -MediaPath "\\Contoso320\Users\Administrator.Contoso319DOM\Desktop\DD\2.wim"  -ProtectPassword 0 -TaskSequenceId "CCC0000B" -BootImageName "boot" -DistributionPointServerName "Contoso320.Contoso319DOM.NET" -ManagementnPointNetworkOperatingSystemPath "Contoso320.Contoso319DOM.NET" -OperatingSystemImageDistributionPointServerName "Contoso320.Contoso319DOM.NET" -TaskSequenceDistributionPointServerName "\\Contoso320.Contoso319DOM.NET"

Det här kommandot använder cmdleten New-CMTaskSequenceMedia för att skapa aktivitetssekvensmedia genom att ange parametern PrestagedMediaOption.

PARAMETERS

-AllowUacPrompt

Anger att User Account Control (UAC)-prompter tillåts.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-AllowUnattendedDeployment

Anger om du tillåter obevakad operativsystemsdistribution, vilket inte kräver nätverkskonfiguration eller valfria aktivitetssekvenser.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-Program

Anger program som ingår i aktivitetssekvensen.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: Applications

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ApplicationName

Anger en matris med namn på program som ingår i aktivitetssekvensen.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases:

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

-BootImage

Anger ett startavbildningsobjekt.

Type: IResultObject
Parameter Sets: NewBootableMediaByValue, NewPrestagedMediaByValue, NewCaptureMediaByValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageDistributionPoint

Anger en distributionsplats för startavbildningen.

Type: IResultObject
Parameter Sets: NewBootableMediaByValue, NewPrestagedMediaByValue, NewCaptureMediaByValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageDistributionPointServerName

Anger namnet på en distributionsplats för startavbildningen.

Type: String
Parameter Sets: NewBootableMedia, NewPrestagedMedia, NewCaptureMedia
Aliases: DistributionPointServerName

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootImageId

Anger ID för startavbildningspaketet som är associerat med aktivitetssekvensmediet.

Type: String
Parameter Sets: NewBootableMedia, NewPrestagedMedia, NewCaptureMedia
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootImageManagementPoint

Anger en hanteringsplats för startavbildningen.

Type: IResultObject[]
Parameter Sets: NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases: BootImageManagementPoints

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-BootImageManagementPointServerName

Anger namnet på en hanteringsplats för startavbildningen.

Type: String[]
Parameter Sets: NewBootableMedia, NewPrestagedMedia
Aliases: ManagementPointServerName, BootImageManagementPointServerNames

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BootableMedia

Type: SwitchParameter
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases: BootableMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CaptureMedia

Type: SwitchParameter
Parameter Sets: NewCaptureMediaByValue, NewCaptureMedia
Aliases: CaptureMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CommandDistributionPointServerName

Anger ett namn för en distributionsplatsserver som cmdleten hämtar paketet från. Parametern CommandPackageName anger paketnamnet.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases:

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

-CommandIncludeFile

Anger om du vill inkludera en fil.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-CommandPackage

Anger ett kommandopaket.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases:

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

-CommandPackageDistributionPoint

Anger en distrubtionspunkt för kommandopaket.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases:

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

-CommandPackageName

Anger ett paketnamn för kommandot som anges av parametern CommandLine.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases:

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

-Kommentar

Anger en kommentar för en förinstallerad mediefil.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-Confirm

Uppmanar dig att bekräfta innan du kör cmdleten.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-CreateMediaSelfCertificate

Anger om mediet innehåller ett själv signerat certifikat. Använd endast den här parametern i miljöer med blandat läge.

Type: Boolean
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-CreatedBy

Anger namnet på en person eller organisation som ansvarar för att skapa det förinstallerade mediet.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-DisableWildcardHandling

Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-DriveName

Anger ett enhetsnamn.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewCaptureMediaByValue, NewCaptureMedia
Aliases:

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

-DriverPackage

Anger ett drivrutinspaket.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: DriverPackages, PackageDriver, PackageDrivers

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-DriverPackageName

Anger namnet på ett drivrutinspaket.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases: PackageDriverName

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

-EnablePrestartCommand

Anger om du vill aktivera ett förinstartskommando. Ett förinstartskommando är ett skript eller en körbar fil som körs före aktivitetssekvensen.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases:

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

-EnableUnknownSupport

Anger om du vill etablera okända system för operativsystemsdistribution.

Type: Boolean
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-ExpirationDate

Anger ett förfallodatum i formatet D.HH:MM:SS för startbara media.

Type: DateTime
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-ForceWildcardHandling

Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ImportCertificatePassword

Anger ett lösenord för ett importcertifikat som en säker sträng. Ett importcertifikat är ett PKI-utfärdat certifikat som läggs till i startmediet för klientautentisering och kommunikation med en Konfigurationshanteraren plats.

Type: SecureString
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-ImportCertificatePath

Anger en sökväg för ett importcertifikat som ska läggas till i startmediet.

Type: String
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-IncludeApplicationDependency

Anger att cmdleten identifierar associerade programberoenden och lägger till dem på det här mediet.

Type: Boolean
Parameter Sets: NewStandAloneMedia, NewStandAloneMediaByValue
Aliases: IncludeApplicationDependencies

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

-MediaInputType

Anger en medieindatatyp. De acceptabla värdena för den här parametern är:

  • CDDVD
  • USB
Type: MediaInputType
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewCaptureMedia
Aliases:
Accepted values: Usb, CdDvd, Hd, Usb, CdDvd, Hd, Usb, CdDvd, Hd, Usb, CdDvd, Hd

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: MediaInputType
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewCaptureMediaByValue
Aliases:
Accepted values: Usb, CdDvd, Hd, Usb, CdDvd, Hd, Usb, CdDvd, Hd, Usb, CdDvd, Hd

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

-MediaMode

Anger ett medieläge. De acceptabla värdena för den här parametern är:

  • Dynamisk
  • SiteBased
Type: MediaMode
Parameter Sets: NewBootableMedia, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:
Accepted values: Dynamic, SiteBased, Dynamic, SiteBased, Dynamic, SiteBased, Dynamic, SiteBased

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: MediaMode
Parameter Sets: NewBootableMediaByValue
Aliases:
Accepted values: Dynamic, SiteBased, Dynamic, SiteBased, Dynamic, SiteBased, Dynamic, SiteBased

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

-MediaPath

Anger en sökväg till mediet.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MediaSize

Anger storleken på mediet. De acceptabla värdena för den här parametern är:

  • Ingen
  • Size4GB
  • Storlek650 MB
  • Size8GB
  • StorlekAvgränsad
Type: MediaSize
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases:
Accepted values: None, Size650MB, Size4GB, Size8GB, SizeUnlimited

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

-OperatingSystemImageDistributionPoint

Type: IResultObject
Parameter Sets: NewPrestagedMediaByValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-OperatingSystemImageDistributionPointServerName

Anger namnet på en distributionsplatsserver för en operativsystemavbildning.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OperatingSystemImageName

Anger namnet på en operativsystemavbildning.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases:

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

-OperatingSystemImagePackage

Type: IResultObject
Parameter Sets: NewPrestagedMediaByValue
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-OperatingSystemImagePackageId

Anger identifieraren för ett operativsystemsavbildningspaket.

Type: String
Parameter Sets: NewPrestagedMedia
Aliases:

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

-Paket

Anger paketobjekt.

Type: IResultObject[]
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: Packages

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PackageName

Anger en matris med paketnamn.

Type: String[]
Parameter Sets: NewPrestagedMedia
Aliases:

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

-Password

Anger ett lösenord som en säker sträng.

Type: SecureString
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue
Aliases:

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

-PrestagedMedia

Type: SwitchParameter
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: PrestagedMediaOption, PrestageMedia

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrestartCommandLine

Anger en förinstartskommandorad.

Type: String
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases: CommandLine

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

-ProtectPassword

Anger om mediet ska skyddas med ett lösenord.

Type: Boolean
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewPrestagedMedia
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: Boolean
Parameter Sets: NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMediaByValue
Aliases:

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

-StandaloneMedia

Type: SwitchParameter
Parameter Sets: NewStandAloneMedia, NewStandAloneMediaByValue
Aliases: StandAloneMediaOption

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StartDate

Anger startdatum och starttid i formatet D.HH:MM:SS.

Type: DateTime
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:

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

-TaskSequence

Anger ett aktivitetssekvensobjekt.

Type: IResultObject
Parameter Sets: NewStandAloneMediaByValue, NewPrestagedMediaByValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TaskSequenceDistributionPoint

Anger en aktivitetssekvensdistributionsplats.

Type: IResultObject[]
Parameter Sets: NewStandAloneMediaByValue, NewPrestagedMediaByValue
Aliases: TaskSequenceDistributionPoints

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TaskSequenceDistributionPointServerName

Anger en matris med tillgängliga distributionsplatsservrar för en aktivitetssekvens.

Type: String[]
Parameter Sets: NewStandAloneMedia, NewPrestagedMedia
Aliases: TaskSequenceDistributionPointServerNames

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TaskSequenceId

Anger ett ID för en aktivitetssekvens.

Type: String
Parameter Sets: NewStandAloneMedia, NewPrestagedMedia
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserDeviceAffinity

Anger mappning mellan användare och enhet. Mappning mellan användare och enhet associerar användare med en måldator. De acceptabla värdena för den här parametern är:

  • AdministratorApproval
  • AutoApproval
  • DoNotAllow
Type: UserDeviceAffinityType
Parameter Sets: NewBootableMedia, NewBootableMediaByValue
Aliases:
Accepted values: DoNotAllow, AdministratorApproval, AutoApproval

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

-Variabel

Anger en aktivitetssekvensvariabel. Aktivitetssekvensvariabeln består av ett namn och ett värde.

Type: Hashtable
Parameter Sets: NewBootableMedia, NewStandAloneMedia, NewStandAloneMediaByValue, NewBootableMediaByValue, NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-Version

Anger versionsinformationen för mediet.

Type: String
Parameter Sets: NewPrestagedMedia, NewPrestagedMediaByValue
Aliases:

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

-WhatIf

Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject[]

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

ANTECKNINGAR

Get-CMTaskSequence