The Set-SCStorageProvider cmdlet modifies a storage provider object in System Center Virtual Machine Manager (VMM).
For more information about Set-SCStorageProvider, type: "Get-Help Set-SCStorageProvider -online".
Parameters
StorageProvider
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a storage provider object.
Certificate
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a security certificate object.
Description
Required?
false
Accept Pipeline Input?
false
Position?
named
States a description for the specified object.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
Name
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
NetworkDeviceName
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name of a network device.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsAccount
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a Run As account that contains credentials with permission to perform this action.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
TCPPort
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a numeric value that represents a TCP port.
The first command gets the storage provider named StorProv01 and stores it in the $Provider variable.
The second command gets RunAs account RunAsAccount01 and stores it in the $RunAsAcct variable.
The last command sets the network divice name of the storage provider stored in the $Provider variable to NewStorProvName using the RunAs account stored in $RunAsAcct.
The first command gets the storage provider named StorProv01 and stores it in the $Provider variable.
The second command gets the RunAs account named RunAsAccount01 and stores the object in the $RunAsAcct variable.
The third command changes the TCP/IP port of the storage provider stored in $Provider to 40441 using the RunAs account stored in $RunAsAcct.