2016-07-14 67 views

回答

2

如果你

get-help Connect-DatabaseCluster -full 

你會得到所有可能的值的列表。對你來說重要的是

-StandAlone [<SwitchParameter>] 
Specifies if the database is standalone. 

Required?     false 
Position?     named 
Default value 
Accept pipeline input?  true (ByValue, ByPropertyName) 
Accept wildcard characters? false 

所以你的命令更改

Connect-DatabaseCluster -StandAlone 

它寫在文件中