New-CMInstallationSourceFile
New-CMInstallationSourceFile
Creates an installation source file for Configuration Manager.
Syntax
Parameter Set: NewInstallationSourceFilesByNetworkLocation
New-CMInstallationSourceFile -CopyFromNetworkLocation -UncPath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: NewInstallationSourceFilesByParent
New-CMInstallationSourceFile -CopyFromParentSiteServer [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: NewInstallationSourceFilesBySecondaryLocation
New-CMInstallationSourceFile -CopyFromSecondarySiteLocation -LocalPath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-CMInstallationSourceFile cmdlet creates an installation source file for Microsoft System Center 2012 SP1 Configuration Manager. An installation source file is an object that contains installation source parameters for a secondary site installation. A secondary site has no System Center 2012 Configuration Manager database of its own. Instead, it forwards information that it gets from clients to a primary site that stores the data for all the secondary sites that are attached to it.
Parameters
-CopyFromNetworkLocation
Indicates that Configuration Manager copies the installation files for a secondary site installation from a specific Universal Naming Convention (UNC) path.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-CopyFromParentSiteServer
Indicates that Configuration Manager copies the installation files for a secondary site installation from the primary site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-CopyFromSecondarySiteLocation
Indicates that the installation files for a secondary site installation reside on the secondary site server.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-LocalPath<String>
Specifies a path to source files in the local file system of the secondary site server.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UncPath<String>
Specifies a UNC path to source files in the local file system of the secondary site server.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Create an installation source file
This command creates an installation source file for a secondary site installation by copying the installation files from the primary site.
PS C:\> New-CMInstallationSourceFile -CopyFromParentSiteServer