Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit b9d6f3b

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into 20191022_pam
2 parents 6152092 + a2a71c9 commit b9d6f3b

285 files changed

Lines changed: 3485 additions & 3065 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/big-data-cluster/deploy-on-minikube.md",
5+
"redirect_url": "/sql/big-data-cluster/deploy-get-started",
6+
"redirect_document_id": false
7+
},
38
{
49
"source_path": "docs/big-data-cluster/reference-azdata-control.md",
510
"redirect_url": "/sql/big-data-cluster/reference-azdata",
@@ -14069,6 +14074,11 @@
1406914074
"source_path": "docs/relational-databases/indexes/columnstore-indexes-defragmentation.md",
1407014075
"redirect_url": "/sql/relational-databases/indexes/reorganize-and-rebuild-indexes",
1407114076
"redirect_document_id": false
14077+
},
14078+
{
14079+
"source_path": "docs/linux/sql-server-linux-develop-use-vscode.md",
14080+
"redirect_url": "/sql/visual-studio-code/sql-server-develop-use-vscode",
14081+
"redirect_document_id": true
1407214082
}
1407314083
]
1407414084
}

docs/2014/2014-toc/books-online-for-sql-server-2014.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Books Online for SQL Server 2014 | Microsoft Docs"
3-
ms.date: "05/25/2017"
3+
ms.date: "10/18/2019"
44
ms.prod: "sql-server-2014"
55
ms.technology: release-landing
66
ms.reviewer: ""
@@ -63,7 +63,7 @@ SQL Server 2016, and later versions, are documented [here](https://docs.microsof
6363

6464
## <a name="previous-versions-gm2014"></a> SQL Server 2005, 2008, 2012, 2016+
6565

66-
[!INCLUDE[???](../includes/paragraph-content/previous-versions-archive-documentation-sql-server.md)]
66+
[!INCLUDE[previous versions](../includes/paragraph-content/previous-versions-archive-documentation-sql-server.md)]
6767

6868
## See Also
6969

docs/2014/analysis-services/analysis-services-powershell.md

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ For more information about syntax and examples, see [Analysis Services PowerShel
7676

7777
3. The user name and password provided by the credential object resolves to a Windows user identity. Analysis Services uses this identity as the current user. If the user is not a Windows user, or lacks sufficient permissions to perform the requested operation, the request will fail.
7878

79-
To create a credential object, you can use the Get-Credential cmdlet to collect the credentials from the operator. You can then use the credential object on a command that connects to Analysis Services. The following example illustrates one approach. In this example, the connection is to a local instance configured for HTTP access.
79+
To create a credential object, you can use the Get-Credential cmdlet to collect the credentials from the operator. You can then use the credential object on a command that connects to Analysis Services. The following example illustrates one approach. In this example, the connection is to a local instance (`SQLSERVER:\SQLAS\HTTP_DS`) configured for HTTP access.
8080

81-
```
82-
PS SQLSERVER:\SQLAS\HTTP_DS> $cred = Get-credential adventureworks\dbadmin
83-
PS SQLSERVER:\SQLAS\HTTP_DS> Invoke-ASCmd -Inputfile:"c:\discoverconnections.xmla" -Credential:$cred
81+
```powershell
82+
$cred = Get-Credential adventureworks\dbadmin
83+
Invoke-ASCmd -Inputfile:"c:\discoverconnections.xmla" -Credential:$cred
8484
```
8585

8686
When using Basic authentication, you should always use HTTPS with SSL so that username and passwords are sent over an encrypted connection. For more information, see [Configure Secure Sockets Layer in IIS 7.0](https://go.microsoft.com/fwlink/?linkID=184299) and [Configure Basic Authentication (IIS 7)](https://go.microsoft.com/fwlink/?LinkId=230776).
@@ -91,20 +91,18 @@ PS SQLSERVER:\SQLAS\HTTP_DS> Invoke-ASCmd -Inputfile:"c:\discoverconnections.xml
9191

9292
Some operations, such as backup and restore, support encryption options that are activated when you provide a password in the command. Providing the password signals Analysis Services to encrypt or decrypt the backup file. In Analysis Services, this password is instantiated as a secure string object. The following example provides an illustration of how to collect a password from the operator at run time.
9393

94-
```
95-
PS SQLSERVER:\SQLAS\Localhost\default> $pwd = read-host -AsSecureString -Prompt "Password"
96-
Password: ****
97-
PS SQLSERVER:\SQLAS\Localhost\default> $pwd -is [System.IDisposable]
98-
True
94+
```powershell
95+
$pwd = read-host -AsSecureString -Prompt "Password"
96+
$pwd -is [System.IDisposable]
9997
```
10098

10199
You can now backup or restore an encrypted database file, passing the $pwd variable to the password parameter. To view a complete example that combines this illustration with other cmdlets, see [Backup-ASDatabase cmdlet](/powershell/module/sqlserver/backup-asdatabase) and [Restore-ASDatabase cmdlet](/powershell/module/sqlserver/restore-asdatabase).
102100

103101
As a follow up step, remove both the password and variable from the session.
104102

105-
```
106-
PS SQLSERVER:\SQLAS\Localhost\default> $pwd.Dispose()
107-
PS SQLSERVER:\SQLAS\Localhost\default> Remove-Variable -Name pwd
103+
```powershell
104+
$pwd.Dispose()
105+
Remove-Variable -Name pwd
108106
```
109107

110108
## <a name="bkmk_tasks"></a> Analysis Services PowerShell Tasks
@@ -127,16 +125,16 @@ PS SQLSERVER:\SQLAS\Localhost\default> Remove-Variable -Name pwd
127125

128126
- Run the Import-module cmdlet to load SQLPS that includes all of the Analysis Services PowerShell functionality. If you cannot import the module, you can temporarily change the execution policy to unrestricted for the purpose of the loading the module. For more information, see [Import the SQLPS Module](../../2014/database-engine/import-the-sqlps-module.md).
129127

130-
```
131-
Import-module "sqlps"
128+
```powershell
129+
Import-Module "sqlps"
132130
```
133131
134132
Alternatively, use `import-module "sqlps" -disablenamechecking` to suppress the warning about unapproved verb names.
135133
136134
- To load just the task-specific Analysis Services cmdlets, without the Analysis Services provider or the Invoke-ASCmd cmdlet, you can load the SQLASCmdlets module as an independent operation.
137135
138-
```
139-
Import-module "sqlascmdlets"
136+
```powershell
137+
Import-Module "sqlascmdlets"
140138
```
141139
142140
### <a name="bkmk_remote"></a> Enable Remote Administration
@@ -158,16 +156,16 @@ PS SQLSERVER:\SQLAS\Localhost\default> Remove-Variable -Name pwd
158156
159157
8. On the local computer that has the client tools, use the following cmdlets to verify remote administration, substituting the actual server name for the *remote-server-name* placeholder. Omit the instance name if Analysis Services is installed as the default instance. You must have previously imported the SQLPS module in order for the command to work.
160158
161-
```
162-
PS SQLSERVER:\> cd sqlas
159+
```
160+
PS SQLSERVER:\> cd sqlas
163161
PS SQLSERVER:\sqlas> cd <remote-server-name\instance-name>
164162
PS SQLSERVER:\sqlas\<remote-server-name\instance-name> dir
165163
```
166164
167165
In some cases, additional configuration might be necessary. You might need to type the following on the remote server before you can issue commands to it from another computer:
168166
169-
```
170-
Enable-psremoting
167+
```powershell
168+
Enable-PSRemoting
171169
```
172170

173171

@@ -211,61 +209,61 @@ PS SQLSERVER\sqlas\http_ds\http%3A%2F%2Flocalhost%2olap%2msmdpump%2Edll:> dir
211209
### <a name="bkmk_admin"></a> Administer the Service
212210
Verify the service is running. Returns status, name, and display name for SQL Server services, including Analysis Services (MSSQLServerOLAPService) and the Database Engine.
213211

214-
```
215-
Get-service mssql*
212+
```powershell
213+
Get-Service mssql*
216214
```
217215

218216
Returns properties about a process, including process ID, handle count, and memory usage:
219217

220-
```
221-
Get-process msmdsrv
218+
```powershell
219+
Get-Process msmdsrv
222220
```
223221

224222
Restarts the service when you issue the following cmdlet from the administrator shell:
225223

226-
```
227-
Restart-service mssqlserverolapservice
224+
```powershell
225+
Restart-Service mssqlserverolapservice
228226
```
229227

230228
### <a name="bkmk_help"></a> Get Help for Analysis Services PowerShell
231229
Use any of the following cmdlets to verify cmdlet availability and to get more information about services, processes, and objects.
232230

233-
1. `Get-help` returns the built-in help for an Analysis Services cmdlet, including examples:
231+
1. `Get-Help` returns the built-in help for an Analysis Services cmdlet, including examples:
234232

235-
```
236-
Get-help invoke-ascmd -examples
233+
```powershell
234+
Get-Help invoke-ascmd -Examples
237235
```
238236
239-
2. `Get-command` returns a list of the eleven Analysis Services PowerShell cmdlets:
237+
2. `Get-Command` returns a list of the eleven Analysis Services PowerShell cmdlets:
240238
241-
```
242-
get-command -module SQLASCmdlets
239+
```powershell
240+
Get-Command -module SQLASCmdlets
243241
```
244242
245-
3. `Get-member` returns properties or methods of a service or process.
243+
3. `Get-Member` returns properties or methods of a service or process.
246244
247-
```
248-
Get-service mssqlserverolapservice | get-member -type Property
245+
```powershell
246+
Get-Service mssqlserverolapservice | Get-Member -Type Property
249247
```
250248
251-
```
252-
Get-service mssqlserverolapservice | get-member -type Method
249+
```powershell
250+
Get-Service mssqlserverolapservice | Get-Member -Type Method
253251
```
254252
255-
```
256-
Get-process msmdsrv | get-member -type Property
253+
```powershell
254+
Get-Process msmdsrv | Get-Member -Type Property
257255
```
258256
259-
4. `Get-member` can also be used to return properties or methods of an object (for example, AMO methods on the server object) using the SQLAS provider to specify the server instance.
257+
4. `Get-Member` can also be used to return properties or methods of an object (for example, AMO methods on the server object) using the SQLAS provider to specify the server instance.
260258
261-
```
259+
```
262260
PS SQLSERVER:\sqlas\localhost\default > $serverObj = New-Object Microsoft.AnalysisServices.Server
263-
PS SQLSERVER:\sqlas\localhost\default > $serverObj = | get-member -type Method
261+
PS SQLSERVER:\sqlas\localhost\default > $serverObj = | Get-Member -Type Method
264262
```
265263
266264
5. `Get-PSdrive` returns a list of the providers that are currently installed. If you imported the SQLPS module, you will see the `SQLServer` provider in the list (SQLAS is part of the SQLServer provider and never appears separately in the list):
267265
268-
```
266+
```powershell
269267
Get-PSDrive
270268
```
271269

0 commit comments

Comments
 (0)