Get-SCSQLDeployment
bir SQL Server dağıtımı alır.
Syntax
Get-SCSQLDeployment
[-VMMServer <ServerConnection>]
-SQLProfile <SQLProfile>
[-Name <String>]
[<CommonParameters>]
Get-SCSQLDeployment
[-VMMServer <ServerConnection>]
[-SQLConfigurationFile <Script>]
[<CommonParameters>]
Get-SCSQLDeployment
[-VMMServer <ServerConnection>]
-ID <Guid>
[<CommonParameters>]
Description
Get-SCSQLDeployment cmdlet'i bir Microsoft SQL Server dağıtımı alır.
Örnekler
Örnek 1: Mevcut bir SQL Server profilinden belirli bir SQL Server dağıtım nesnesi alma
PS C:\> $SQLProfile = Get-SCSQLProfile -Name "SQLProfile01"
PS C:\> Get-SCSQLDeployment -SQLProfile $SQLProfile -Name "SQL Deployment 01"
İlk komut SQLProfile01 adlı SQL Server profilini alır ve bu nesneyi $SQLProfile değişkeninde depolar. Bu komut Get-SCSQLProfile cmdlet'ini kullanır.
İkinci komut, $SQLProfile'de depolanan SQL Profilinden SQL Dağıtımı 01 adlı SQL Server dağıtımını alır.
Parametreler
-ID
Bu cmdlet'in aldığı dağıtımın benzersiz kimliğini belirtir.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Bu cmdlet'in aldığı SQL Server dağıtımının adını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SQLConfigurationFile
Bu cmdlet'in aldığı SQL Server dağıtımının yapılandırma dosyasını belirtir.
Type: | Script |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SQLProfile
Bu cmdlet'in SQL Server dağıtımı aldığı SQL Server profilini belirtir.
Type: | SQLProfile |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMMServer
Bu cmdlet'in üzerinde çalıştığı VMM sunucusunu belirtir.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Çıkışlar
SQLDeployment
Bu cmdlet bir SQLDeployment nesnesi döndürür.