### Start-SqlInstance Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Starts the specified instance of SQL Server. ```APIDOC ## Start-SqlInstance ### Description Starts the specified instance of SQL Server. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Get-SqlSensitivityRecommendations Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Get recommended sensitivity labels and information types for columns in the database. ```APIDOC ## Get-SqlSensitivityRecommendations ### Description Get recommended sensitivity labels and information types for columns in the database. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlInstance Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL Instance object for each instance of SQL Server that is present on the target computer. ```APIDOC ## Get-SqlInstance ### Description Gets a SQL Instance object for each instance of SQL Server that is present on the target computer. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Switch-SqlAvailabilityGroup Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Starts a failover of an availability group to a secondary replica. ```APIDOC ## Switch-SqlAvailabilityGroup ### Description Starts a failover of an availability group to a secondary replica. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Get-SqlSmartAdmin Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets the SQL Smart Admin object and its properties. ```APIDOC ## Get-SqlSmartAdmin ### Description Gets the SQL Smart Admin object and its properties. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlCredential Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL credential object. ```APIDOC ## Get-SqlCredential ### Description Gets a SQL credential object. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgentJobStep Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL JobStep object for each step that is present in the target instance of SQL Agent Job. ```APIDOC ## Get-SqlAgentJobStep ### Description Gets a SQL JobStep object for each step that is present in the target instance of SQL Agent Job. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL database object for each database that is present in the target instance of SQL Server. ```APIDOC ## Get-SqlDatabase ### Description Gets a SQL database object for each database that is present in the target instance of SQL Server. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlBackupHistory Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets backup information about databases and returns SMO BackupSet objects for each Backup record found based on the parameters specified to this cmdlet. ```APIDOC ## Get-SqlBackupHistory ### Description Gets backup information about databases and returns SMO BackupSet objects for each Backup record found based on the parameters specified to this cmdlet. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgent Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL Agent object that is present in the target instance of SQL Server. ```APIDOC ## Get-SqlAgent ### Description Gets a SQL Agent object that is present in the target instance of SQL Server. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlColumnMasterKey Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets the column master key objects defined in the database or gets one column master key object with the specified name. ```APIDOC ## Get-SqlColumnMasterKey ### Description Gets the column master key objects defined in the database or gets one column master key object with the specified name. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAssessmentItem Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets SQL Assessment best practice checks available for a chosen SQL Server object. ```APIDOC ## Get-SqlAssessmentItem ### Description Gets SQL Assessment best practice checks available for a chosen SQL Server object. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlSensitivityClassification Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Get the sensitivity label and information type of columns in the database. ```APIDOC ## Get-SqlSensitivityClassification ### Description Get the sensitivity label and information type of columns in the database. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlColumnEncryptionKey Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets all column encryption key objects defined in the database, or gets one column encryption key object with the specified name. ```APIDOC ## Get-SqlColumnEncryptionKey ### Description Gets all column encryption key objects defined in the database, or gets one column encryption key object with the specified name. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlErrorLog Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets the SQL Server error logs. ```APIDOC ## Get-SqlErrorLog ### Description Gets the SQL Server error logs. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgentJobHistory Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets the job history present in the target instance of SQL Agent. ```APIDOC ## Get-SqlAgentJobHistory ### Description Gets the job history present in the target instance of SQL Agent. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgentSchedule Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL job schedule object for each schedule that is present in the target instance of SQL Agent. ```APIDOC ## Get-SqlAgentSchedule ### Description Gets a SQL job schedule object for each schedule that is present in the target instance of SQL Agent. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgentJob Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a SQL Agent Job object for each job that is present in the target instance of SQL Agent. ```APIDOC ## Get-SqlAgentJob ### Description Gets a SQL Agent Job object for each job that is present in the target instance of SQL Agent. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Get-SqlAgentJobSchedule Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Gets a job schedule object for each schedule that is present in the target instance of SQL Agent Job. ```APIDOC ## Get-SqlAgentJobSchedule ### Description Gets a job schedule object for each schedule that is present in the target instance of SQL Agent Job. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-SqlAvailabilityReplica Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates an availability replica. ```APIDOC ## New-SqlAvailabilityReplica ### Description Creates an availability replica. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **AvailabilityGroup** (string) - Required - The availability group. - **Name** (string) - Required - The name of the replica. - **EndpointUrl** (string) - Required - The endpoint URL of the replica. ### Request Example ```powershell New-SqlAvailabilityReplica -AvailabilityGroup "MyAG" -Name "SecondaryReplica" -EndpointUrl "TCP://SecondaryServer.domain.com:5022" ``` ### Response Success: Availability replica created. Error: Details about the failure. ``` -------------------------------- ### New-SqlHADREndpoint Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a database mirroring endpoint on a SQL Server instance. ```APIDOC ## New-SqlHADREndpoint ### Description Creates a database mirroring endpoint on a SQL Server instance. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Name** (string) - Required - The name of the endpoint. - **Port** (int) - Required - The port number for the endpoint. ### Request Example ```powershell New-SqlHADREndpoint -Name "MyEndpoint" -Port 5022 ``` ### Response Success: Database mirroring endpoint created. Error: Details about the failure. ``` -------------------------------- ### New-SqlBackupEncryptionOption Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates the encryption options for the Backup-SqlDatabase cmdlet or the Set-SqlSmartAdmin cmdlet. ```APIDOC ## New-SqlBackupEncryptionOption ### Description Creates the encryption options for the Backup-SqlDatabase cmdlet or the Set-SqlSmartAdmin cmdlet. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **EncryptionAlgorithm** (string) - Required - The encryption algorithm (e.g., AES256). - **EncryptionKeyValue** (string) - Required - The encryption key value. ### Request Example ```powershell New-SqlBackupEncryptionOption -EncryptionAlgorithm "AES256" -EncryptionKey "MySecretKey" ``` ### Response Success: Encryption options object created. Error: Details about the failure. ``` -------------------------------- ### Resume-SqlAvailabilityDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Resumes data movement on an availability database. ```APIDOC ## Resume-SqlAvailabilityDatabase ### Description Resumes data movement on an availability database. ### Method Resume ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **AvailabilityGroup** (string) - Required - The availability group. - **DatabaseName** (string) - Required - The name of the database. ### Request Example ```powershell Resume-SqlAvailabilityDatabase -AvailabilityGroup "MyAG" -DatabaseName "MyDatabase" ``` ### Response Success: Data movement resumed. Error: Details about the failure. ``` -------------------------------- ### Invoke-SqlNotebook Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Executes a SQL Notebook file (.ipynb) and outputs the materialized notebook. ```APIDOC ## Invoke-SqlNotebook ### Description Executes a SQL Notebook file (.ipynb) and outputs the materialized notebook. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Path** (string) - Required - The path to the SQL Notebook file. ### Request Example ```powershell Invoke-SqlNotebook -Path "C:\Notebooks\MyNotebook.ipynb" ``` ### Response Success: Returns the materialized notebook. Error: Details about the failure. ``` -------------------------------- ### Add-SqlLogin Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a Login object in an instance of SQL Server. ```APIDOC ## Add-SqlLogin ### Description Creates a Login object in an instance of SQL Server. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-SqlColumnMasterKeySettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnMasterKeySettings object describing a master key stored in an arbitrarily specified key store provider and path. ```APIDOC ## New-SqlColumnMasterKeySettings ### Description Creates a SqlColumnMasterKeySettings object describing a master key stored in an arbitrarily specified key store provider and path. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **KeyProvider** (string) - Required - The key provider. - **KeyPath** (string) - Required - The path to the key. ### Request Example ```powershell New-SqlColumnMasterKeySettings -KeyProvider "MyProvider" -KeyPath "MyKeyPath" ``` ### Response Success: SqlColumnMasterKeySettings object created. Error: Details about the failure. ``` -------------------------------- ### New-SqlCertificateStoreColumnMasterKeySettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnMasterKeySettings object referencing the specified certificate. ```APIDOC ## New-SqlCertificateStoreColumnMasterKeySettings ### Description Creates a SqlColumnMasterKeySettings object referencing the specified certificate. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **CertificatePath** (string) - Required - The path to the certificate. ### Request Example ```powershell New-SqlCertificateStoreColumnMasterKeySettings -CertificatePath "Cert:\LocalMachine\My\MyCert" ``` ### Response Success: SqlColumnMasterKeySettings object created. Error: Details about the failure. ``` -------------------------------- ### Save-SqlMigrationReport Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Generates In-Memory OLTP Migration Checklist ```APIDOC ## Save-SqlMigrationReport ### Description Generates an In-Memory OLTP Migration Checklist. ### Method Save ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Path** (string) - Required - The path to save the report. ### Request Example ```powershell Save-SqlMigrationReport -Path "C:\Reports\MigrationChecklist.txt" ``` ### Response Success: Migration report saved. Error: Details about the failure. ``` -------------------------------- ### New-SqlCspColumnMasterKeySettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store with a CSP supporting CAPI. ```APIDOC ## New-SqlCspColumnMasterKeySettings ### Description Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store with a CSP supporting CAPI. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **KeyProviderName** (string) - Required - The name of the CSP key provider. - **KeyName** (string) - Required - The name of the key. ### Request Example ```powershell New-SqlCspColumnMasterKeySettings -KeyProviderName "Microsoft Enhanced Cryptographic Provider v1.0" -KeyName "MyCspKey" ``` ### Response Success: SqlColumnMasterKeySettings object created. Error: Details about the failure. ``` -------------------------------- ### New-SqlVulnerabilityAssessmentBaseline Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a new instance of Microsoft.SQL.VulnerabilityAssessment.SecurityCheckBaseline. ```APIDOC ## New-SqlVulnerabilityAssessmentBaseline ### Description Creates a new instance of Microsoft.SQL.VulnerabilityAssessment.SecurityCheckBaseline. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **RuleId** (string) - Required - The ID of the vulnerability rule. - **Status** (string) - Required - The status of the baseline (e.g., Baseline, NotApplicable). - **ExpectedResult** (string) - Optional - The expected result for the rule. ### Request Example ```powershell New-SqlVulnerabilityAssessmentBaseline -RuleId "VA1001" -Status "Baseline" ``` ### Response Success: Vulnerability assessment baseline created. Error: Details about the failure. ``` -------------------------------- ### Import-SqlVulnerabilityAssessmentBaselineSet Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Imports a Vulnerability Assessment baseline set from a file. ```APIDOC ## Import-SqlVulnerabilityAssessmentBaselineSet ### Description Imports a Vulnerability Assessment baseline set from a file. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-SqlCredential Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SQL Server credential object. ```APIDOC ## New-SqlCredential ### Description Creates a SQL Server credential object. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Name** (string) - Required - The name of the credential. - **Identity** (string) - Required - The identity for the credential. - **Password** (string) - Required - The password for the credential. ### Request Example ```powershell New-SqlCredential -Name "MyCredential" -Identity "MyUser" -Password "MyPassword" ``` ### Response Success: SQL Server credential created. Error: Details about the failure. ``` -------------------------------- ### New-SqlCngColumnMasterKeySettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store supporting the CNG API. ```APIDOC ## New-SqlCngColumnMasterKeySettings ### Description Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in a key store supporting the CNG API. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **KeyProviderName** (string) - Required - The name of the CNG key provider. - **KeyName** (string) - Required - The name of the key. ### Request Example ```powershell New-SqlCngColumnMasterKeySettings -KeyProviderName "Microsoft Software Key Storage Provider" -KeyName "MyCNGKey" ``` ### Response Success: SqlColumnMasterKeySettings object created. Error: Details about the failure. ``` -------------------------------- ### Set-SqlSmartAdmin Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Configures or modifies backup retention and storage settings. ```APIDOC ## Set-SqlSmartAdmin ### Description Configures or modifies backup retention and storage settings. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### New-SqlAvailabilityGroupListener Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates an availability group listener and attaches it to an availability group. ```APIDOC ## New-SqlAvailabilityGroupListener ### Description Creates an availability group listener and attaches it to an availability group. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **AvailabilityGroup** (string) - Required - The availability group to attach the listener to. - **ListenerName** (string) - Required - The name of the listener. - **Port** (int) - Optional - The port number for the listener. - **IPAddress** (string) - Optional - The IP address for the listener. ### Request Example ```powershell New-SqlAvailabilityGroupListener -AvailabilityGroup "MyAG" -ListenerName "MyAGListener" -Port 1433 -IPAddress "192.168.1.100" ``` ### Response Success: Availability group listener created. Error: Details about the failure. ``` -------------------------------- ### Get-SqlLogin Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Returns Login objects in an instance of SQL Server. ```APIDOC ## Get-SqlLogin ### Description Returns Login objects in an instance of SQL Server. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-SqlVulnerabilityAssessmentBaselineSet Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a new instance of Microsoft.SQL.VulnerabilityAssessment.SecurityCheckBaselineSet. ```APIDOC ## New-SqlVulnerabilityAssessmentBaselineSet ### Description Creates a new instance of Microsoft.SQL.VulnerabilityAssessment.SecurityCheckBaselineSet. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **BaselineSetName** (string) - Required - The name of the baseline set. ### Request Example ```powershell New-SqlVulnerabilityAssessmentBaselineSet -BaselineSetName "MyBaselineSet" ``` ### Response Success: Vulnerability assessment baseline set created. Error: Details about the failure. ``` -------------------------------- ### New-SqlAvailabilityGroup Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates an availability group. ```APIDOC ## New-SqlAvailabilityGroup ### Description Creates an availability group. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Name** (string) - Required - The name of the availability group. - **PrimaryReplicaServerName** (string) - Required - The name of the primary replica server. - **AvailabilityMode** (string) - Optional - The availability mode (e.g., SynchronousOnly, AsynchronousCommit). - **FailoverMode** (string) - Optional - The failover mode (e.g., Automatic, Manual). ### Request Example ```powershell New-SqlAvailabilityGroup -Name "MyAG" -PrimaryReplicaServerName "PrimaryServer" -AvailabilityMode "SynchronousCommit" -FailoverMode "Automatic" ``` ### Response Success: Availability group created. Error: Details about the failure. ``` -------------------------------- ### Backup-SqlDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Backs up SQL Server database objects. ```APIDOC ## Backup-SqlDatabase ### Description Backs up SQL Server database objects. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-RestoreFolder Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Restores an original folder to a new folder. ```APIDOC ## New-RestoreFolder ### Description Restores an original folder to a new folder. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **OriginalFolder** (string) - Required - The path to the original folder. - **NewFolder** (string) - Required - The path to the new folder. ### Request Example ```powershell New-RestoreFolder -OriginalFolder "C:\Original" -NewFolder "C:\Restored" ``` ### Response Success: Folder restored. Error: Details about the failure. ``` -------------------------------- ### New-SqlColumnEncryptionSettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnEncryptionSettings object that encapsulates information about a single column's encryption, including CEK and encryption type. ```APIDOC ## New-SqlColumnEncryptionSettings ### Description Creates a SqlColumnEncryptionSettings object that encapsulates information about a single column's encryption, including CEK and encryption type. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **ColumnName** (string) - Required - The name of the column. - **EncryptionType** (string) - Required - The type of encryption (e.g., Deterministic, Randomized). - **EncryptionKeyName** (string) - Required - The name of the column encryption key. ### Request Example ```powershell New-SqlColumnEncryptionSettings -ColumnName "MyColumn" -EncryptionType "Deterministic" -EncryptionKeyName "MyCEK" ``` ### Response Success: SqlColumnEncryptionSettings object created. Error: Details about the failure. ``` -------------------------------- ### Backup-ASDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Enables a database administrator to take the backup of Analysis Service Database to a file. ```APIDOC ## Backup-ASDatabase ### Description Enables a database administrator to take the backup of Analysis Service Database to a file. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Set-SqlAvailabilityReplica Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Sets the settings on an availability replica. ```APIDOC ## Set-SqlAvailabilityReplica ### Description Sets the settings on an availability replica. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Invoke-SqlAssessment Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Runs SQL Assessment best practice checks for a chosen SQL Server object and returns their results. ```APIDOC ## Invoke-SqlAssessment ### Description Runs SQL Assessment best practice checks for a chosen SQL Server object and returns their results. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **ServerObject** (string) - Required - The SQL Server object to assess. ### Request Example ```powershell Invoke-SqlAssessment -ServerObject "MyServerInstance" ``` ### Response Success: Returns a collection of assessment results. Error: Details about the failure. ``` -------------------------------- ### Grant-SqlAvailabilityGroupCreateAnyDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Grants the `CREATE ANY DATABASE` permission to an Always On Availability Group. ```APIDOC ## Grant-SqlAvailabilityGroupCreateAnyDatabase ### Description Grants the `CREATE ANY DATABASE` permission to an Always On Availability Group. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### New-SqlColumnMasterKey Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a column master key object in the database. ```APIDOC ## New-SqlColumnMasterKey ### Description Creates a column master key object in the database. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Name** (string) - Required - The name of the column master key. - **KeyProvider** (string) - Required - The key provider (e.g., 'жами', 'CNG'). - **KeyPath** (string) - Required - The path to the key. ### Request Example ```powershell New-SqlColumnMasterKey -Name "MyCMK" -KeyProvider "жами" -KeyPath "MyKeyPath" ``` ### Response Success: Column master key created. Error: Details about the failure. ``` -------------------------------- ### New-SqlAzureKeyVaultColumnMasterKeySettings Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in Azure Key Vault. ```APIDOC ## New-SqlAzureKeyVaultColumnMasterKeySettings ### Description Creates a SqlColumnMasterKeySettings object describing an asymmetric key stored in Azure Key Vault. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **KeyVaultUrl** (string) - Required - The URL of the Azure Key Vault. - **KeyName** (string) - Required - The name of the key in the Key Vault. - **KeyVersion** (string) - Optional - The version of the key. ### Request Example ```powershell New-SqlAzureKeyVaultColumnMasterKeySettings -KeyVaultUrl "https://myvault.vault.azure.net/" -KeyName "MyAKVKey" ``` ### Response Success: SqlColumnMasterKeySettings object created. Error: Details about the failure. ``` -------------------------------- ### Test-SqlDatabaseReplicaState Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Evaluates the health of an availability database. ```APIDOC ## Test-SqlDatabaseReplicaState ### Description Evaluates the health of an availability database. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Test-SqlAvailabilityReplica Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Evaluates the health of availability replicas. ```APIDOC ## Test-SqlAvailabilityReplica ### Description Evaluates the health of availability replicas. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Set-SqlNetworkConfiguration Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Sets the network configuration of the target instance of SQL Server. ```APIDOC ## Set-SqlNetworkConfiguration ### Description Sets the network configuration of the target instance of SQL Server. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Convert-UrnToPath Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Converts a SQL Server Management Object URN to a Windows PowerShell provider path. ```APIDOC ## Convert-UrnToPath ### Description Converts a SQL Server Management Object URN to a Windows PowerShell provider path. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Restore-ASDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Restores a specified Analysis Service database from a backup file. ```APIDOC ## Restore-ASDatabase ### Description Restores a specified Analysis Service database from a backup file. ### Method Restore ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **DatabaseName** (string) - Required - The name of the Analysis Service database. - **BackupFile** (string) - Required - The path to the backup file. ### Request Example ```powershell Restore-ASDatabase -DatabaseName "MyASDatabase" -BackupFile "C:\Backups\MyASDatabase.abf" ``` ### Response Success: Analysis Service database restored. Error: Details about the failure. ``` -------------------------------- ### Export-SqlVulnerabilityAssessmentBaselineSet Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Exports a Vulnerability Assessment baseline set to a file. ```APIDOC ## Export-SqlVulnerabilityAssessmentBaselineSet ### Description Exports a Vulnerability Assessment baseline set to a file. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Invoke-Sqlcmd Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Runs a script containing statements supported by the SQL Server SQLCMD utility. ```APIDOC ## Invoke-Sqlcmd ### Description Runs a script containing statements supported by the SQL Server SQLCMD utility. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Script** (string) - Required - The script to execute. - **ServerInstance** (string) - Optional - The SQL Server instance to connect to. - **Database** (string) - Optional - The database to use. ### Request Example ```powershell Invoke-Sqlcmd -Script "SELECT @@VERSION" -ServerInstance "MyServer" ``` ### Response Success: Returns the output of the executed script. Error: Details about the failure. ``` -------------------------------- ### Add-SqlFirewallRule Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Adds a Windows Firewall rule to allow connections to a specific instance of SQL Server. ```APIDOC ## Add-SqlFirewallRule ### Description Adds a Windows Firewall rule to allow connections to a specific instance of SQL Server. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Merge-Partition Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps This cmdlet merges the data of one or more source partitions into a target partition and deletes the source partitions. ```APIDOC ## Merge-Partition ### Description Merges the data of one or more source partitions into a target partition and deletes the source partitions. ### Method Merge ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **SourcePartition** (string) - Required - The source partition(s) to merge. - **TargetPartition** (string) - Required - The target partition to merge into. ### Request Example ```powershell Merge-Partition -SourcePartition "Partition1", "Partition2" -TargetPartition "TargetPartition" ``` ### Response Success: Partitions merged and source partitions deleted. Error: Details about the failure. ``` -------------------------------- ### Join-SqlAvailabilityGroup Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Joins the local secondary replica to an availability group. ```APIDOC ## Join-SqlAvailabilityGroup ### Description Joins the local secondary replica to an availability group. ### Method Join ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **AvailabilityGroupName** (string) - Required - The name of the availability group. - **SecondaryReplicaAddress** (string) - Required - The address of the secondary replica. ### Request Example ```powershell Join-SqlAvailabilityGroup -AvailabilityGroupName "MyAG" -SecondaryReplicaAddress "MySecondaryServer" ``` ### Response Success: Replica joined the availability group. Error: Details about the failure. ``` -------------------------------- ### Invoke-SqlVulnerabilityAssessmentScan Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Invokes a new Vulnerability Assessment scan. ```APIDOC ## Invoke-SqlVulnerabilityAssessmentScan ### Description Invokes a new Vulnerability Assessment scan. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **ServerInstance** (string) - Required - The SQL Server instance. - **DatabaseName** (string) - Required - The database name. ### Request Example ```powershell Invoke-SqlVulnerabilityAssessmentScan -ServerInstance "MyServer" -DatabaseName "MyDatabase" ``` ### Response Success: Scan initiated. Error: Details about the failure. ``` -------------------------------- ### Add-SqlAzureAuthenticationContext Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Performs authentication to Azure and acquires an authentication token. ```APIDOC ## Add-SqlAzureAuthenticationContext ### Description Performs authentication to Azure and acquires an authentication token. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Enable-SqlAlwaysOn Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Enables the Always On Availability Groups feature. ```APIDOC ## Enable-SqlAlwaysOn ### Description Enables the Always On Availability Groups feature. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Invoke-ProcessPartition Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and a MeasureGroup name with a specific ProcessType value. ```APIDOC ## Invoke-ProcessPartition ### Description Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and a MeasureGroup name with a specific ProcessType value. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Partition** (string) - Required - The specific partition to process. - **DatabaseName** (string) - Required - The name of the database. - **CubeName** (string) - Required - The name of the Cube. - **MeasureGroupName** (string) - Required - The name of the Measure Group. - **ProcessType** (string) - Required - The type of process operation. ### Request Example ```powershell Invoke-ProcessPartition -Partition "MyPartition" -DatabaseName "MyDatabase" -CubeName "MyCube" -MeasureGroupName "MyMeasureGroup" -ProcessType "Full" ``` ### Response Success: Operation completed. Error: Details about the failure. ``` -------------------------------- ### Export-SqlVulnerabilityAssessmentScan Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Exports a Vulnerability Assessment scan to a file. ```APIDOC ## Export-SqlVulnerabilityAssessmentScan ### Description Exports a Vulnerability Assessment scan to a file. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Set-SqlHADREndpoint Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Sets the properties of a database mirroring endpoint. ```APIDOC ## Set-SqlHADREndpoint ### Description Sets the properties of a database mirroring endpoint. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Add-SqlAvailabilityGroupListenerStaticIp Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Adds a static IP address to an availability group listener. ```APIDOC ## Add-SqlAvailabilityGroupListenerStaticIp ### Description Adds a static IP address to an availability group listener. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Test-SqlSmartAdmin Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Tests the health of Smart Admin by evaluating SQL Server policy based management (PBM) policies. ```APIDOC ## Test-SqlSmartAdmin ### Description Tests the health of Smart Admin by evaluating SQL Server policy based management (PBM) policies. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### New-SqlColumnEncryptionKey Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Creates a column encryption key object in the database. ```APIDOC ## New-SqlColumnEncryptionKey ### Description Creates a column encryption key object in the database. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Name** (string) - Required - The name of the column encryption key. - **ColumnMasterKeyPath** (string) - Required - The path to the column master key. ### Request Example ```powershell New-SqlColumnEncryptionKey -Name "MyCEK" -ColumnMasterKeyPath "MyCMK" ``` ### Response Success: Column encryption key created. Error: Details about the failure. ``` -------------------------------- ### Invoke-ASCmd Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Enables database administrators to execute an XMLA script, TMSL script, Data Analysis Expressions (DAX) query, Multidimensional Expressions (MDX) query, or Data Mining Extensions (DMX) statement against an instance of Analysis Services. ```APIDOC ## Invoke-ASCmd ### Description Enables database administrators to execute an XMLA script, TMSL script, Data Analysis Expressions (DAX) query, Multidimensional Expressions (MDX) query, or Data Mining Extensions (DMX) statement against an instance of Analysis Services. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Read-SqlXEvent Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Reads SQL Server XEvents from XEL file or live SQL XEvent session. ```APIDOC ## Read-SqlXEvent ### Description Reads SQL Server XEvents from XEL file or live SQL XEvent session. ### Method Read ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **Path** (string) - Optional - The path to the XEL file. - **SessionName** (string) - Optional - The name of the XEvent session. ### Request Example ```powershell Read-SqlXEvent -Path "C:\Logs\MyEvents.xel" ``` ### Response Success: Returns the XEvents data. Error: Details about the failure. ``` -------------------------------- ### Stop-SqlInstance Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Stops the specified instance of SQL Server. ```APIDOC ## Stop-SqlInstance ### Description Stops the specified instance of SQL Server. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Invoke-ProcessDimension Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Conducts the Process operation on a specified Cube of a specific database with a specific ProcessType value. ```APIDOC ## Invoke-ProcessDimension ### Description Conducts the Process operation on a specified Cube of a specific database with a specific ProcessType value. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Restore-SqlDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Restores a database from a backup or transaction log records. ```APIDOC ## Restore-SqlDatabase ### Description Restores a database from a backup or transaction log records. ### Method Restore ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **DatabaseName** (string) - Required - The name of the database to restore. - **BackupFile** (string) - Required - The path to the backup file. - **ServerInstance** (string) - Optional - The SQL Server instance. ### Request Example ```powershell Restore-SqlDatabase -DatabaseName "MyDatabase" -BackupFile "C:\Backups\MyDatabase.bak" -ServerInstance "MyServer" ``` ### Response Success: Database restored. Error: Details about the failure. ``` -------------------------------- ### New-RestoreLocation Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Used to add a restore location to the server. ```APIDOC ## New-RestoreLocation ### Description Used to add a restore location to the server. ### Method New ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **LocationPath** (string) - Required - The path to the restore location. ### Request Example ```powershell New-RestoreLocation -LocationPath "\\Server\Share\Backups" ``` ### Response Success: Restore location added. Error: Details about the failure. ``` -------------------------------- ### Invoke-SqlColumnMasterKeyRotation Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Initiates the rotation of a column master key. ```APIDOC ## Invoke-SqlColumnMasterKeyRotation ### Description Initiates the rotation of a column master key. ### Method Invoke ### Endpoint Not specified, typically used as a cmdlet. ### Parameters - **ColumnMasterKeyName** (string) - Required - The name of the column master key. - **ServerInstance** (string) - Optional - The SQL Server instance. - **DatabaseName** (string) - Optional - The database name. ### Request Example ```powershell Invoke-SqlColumnMasterKeyRotation -ColumnMasterKeyName "MyCMK" -ServerInstance "MyServer" -DatabaseName "MyDatabase" ``` ### Response Success: Key rotation initiated. Error: Details about the failure. ``` -------------------------------- ### Set-SqlAvailabilityGroupListener Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Sets the port setting on an availability group listener. ```APIDOC ## Set-SqlAvailabilityGroupListener ### Description Sets the port setting on an availability group listener. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ``` -------------------------------- ### Add-SqlAvailabilityDatabase Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Adds primary databases to an availability group or joins secondary databases to an availability group. ```APIDOC ## Add-SqlAvailabilityDatabase ### Description Adds primary databases to an availability group or joins secondary databases to an availability group. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Invoke-ProcessCube Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Conducts the Process operation on a specified Cube of a specific database with a specific ProcessType value. ```APIDOC ## Invoke-ProcessCube ### Description Conducts the Process operation on a specified Cube of a specific database with a specific ProcessType value. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### ConvertFrom-EncodedSqlName Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Returns the original SQL Server identifier when given an identifier that has been encoded into a format usable in Windows PowerShell paths. ```APIDOC ## ConvertFrom-EncodedSqlName ### Description Returns the original SQL Server identifier when given an identifier that has been encoded into a format usable in Windows PowerShell paths. ### Method Not specified (Cmdlet) ### Endpoint Not applicable (Cmdlet) ### Parameters Not specified in source. ### Request Example Not specified in source. ### Response Not specified in source. ``` -------------------------------- ### Set-SqlCredential Source: https://learn.microsoft.com/en-us/powershell/module/sqlserver/?view=sqlserver-ps Sets the properties for the SQL Credential object. ```APIDOC ## Set-SqlCredential ### Description Sets the properties for the SQL Credential object. ### Method [Method not specified in source] ### Endpoint [Endpoint not specified in source] ### Parameters [Parameters not specified in source] ### Request Example [Request example not specified in source] ### Response [Response details not specified in source] ```