|
171 | 171 | </maml:para>
|
172 | 172 | </maml:description>
|
173 | 173 | </command:details>
|
174 |
| -<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. Modules for a particular profile can be loaded in a new PowerShell session using Use-AzureRmProfile . |
| 174 | +<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. Modules for a particular profile can be loaded in a new PowerShell session using 'Use-AzureRmProfile'. |
175 | 175 | </maml:para>
|
176 | 176 | </maml:description>
|
177 | 177 | <command:syntax><command:syntaxItem><maml:name>Install-AzureRmProfile</maml:name>
|
|
299 | 299 | <command:relatedLinks></command:relatedLinks>
|
300 | 300 | </command:command>
|
301 | 301 | <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
|
302 |
| -<command:details><command:name>Install-AzureRmProfile</command:name> |
303 |
| -<command:verb>Install</command:verb> |
304 |
| -<command:noun>AzureRmProfile</command:noun> |
305 |
| -<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. |
| 302 | +<command:details><command:name>Remove-AzureRmDefaultProfile</command:name> |
| 303 | +<command:verb>Remove</command:verb> |
| 304 | +<command:noun>AzureRmDefaultProfile</command:noun> |
| 305 | +<maml:description><maml:para>Removes the default profile setting. |
306 | 306 | </maml:para>
|
307 | 307 | </maml:description>
|
308 | 308 | </command:details>
|
309 |
| -<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. Modules for a particular profile can be loaded in a new PowerShell session using Use-AzureRmProfile . |
| 309 | +<maml:description><maml:para>Removes the default profile setting that was set using 'Set-AzureRmDefaultProfile' cmdlet. |
310 | 310 | </maml:para>
|
311 | 311 | </maml:description>
|
312 |
| -<command:syntax><command:syntaxItem><maml:name>Install-AzureRmProfile</maml:name> |
313 |
| -<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>Profile</maml:name> |
314 |
| -<maml:Description><maml:para>The profile version to install. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
315 |
| -</maml:para> |
316 |
| -</maml:Description> |
317 |
| -<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">2017-03-09-profile</command:parameterValue> |
318 |
| -<command:parameterValue required="false" variableLength="false"><others></command:parameterValue> |
319 |
| -</command:parameterValueGroup> |
320 |
| -<command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
321 |
| -<dev:type><maml:name>String</maml:name> |
322 |
| -<maml:uri /></dev:type> |
323 |
| -<dev:defaultValue>None</dev:defaultValue> |
324 |
| -</command:parameter> |
| 312 | +<command:syntax><command:syntaxItem><maml:name>Remove-AzureRmDefaultProfile</maml:name> |
325 | 313 | <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Force</maml:name>
|
326 |
| -<maml:Description><maml:para>Automatically install modules for the given profile if they are not already installed. |
| 314 | +<maml:Description><maml:para>Removes the default profile setting without prompting for confirmation. |
327 | 315 | </maml:para>
|
328 | 316 | </maml:Description>
|
329 | 317 | <dev:type><maml:name>SwitchParameter</maml:name>
|
330 | 318 | <maml:uri /></dev:type>
|
331 | 319 | <dev:defaultValue>False</dev:defaultValue>
|
332 | 320 | </command:parameter>
|
333 |
| -<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Scope</maml:name> |
334 |
| -<maml:Description><maml:para>Specifies the installation scope of the modules. The acceptable values for this parameter are: AllUsers and CurrentUser. The AllUsers scope lets modules be installed in a location that is accessible to all users of the computer. The CurrentUser scope lets modules be installed in a location that is available only to the current user. |
335 |
| -</maml:para> |
336 |
| -</maml:Description> |
337 |
| -<command:parameterValueGroup><command:parameterValue required="false" variableLength="false">CurrentUser</command:parameterValue> |
338 |
| -<command:parameterValue required="false" variableLength="false">AllUsers</command:parameterValue> |
339 |
| -</command:parameterValueGroup> |
340 |
| -<command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
341 |
| -<dev:type><maml:name>String</maml:name> |
342 |
| -<maml:uri /></dev:type> |
343 |
| -<dev:defaultValue>None</dev:defaultValue> |
344 |
| -</command:parameter> |
345 | 321 | <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
|
346 | 322 | <maml:Description><maml:para>Prompts you for confirmation before running the cmdlet.
|
347 | 323 | </maml:para>
|
|
361 | 337 | </command:syntaxItem>
|
362 | 338 | </command:syntax>
|
363 | 339 | <command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Force</maml:name>
|
364 |
| -<maml:Description><maml:para>Automatically install modules for the given profile if they are not already installed. |
| 340 | +<maml:Description><maml:para>Removes the default profile setting without prompting for confirmation. |
365 | 341 | </maml:para>
|
366 | 342 | </maml:Description>
|
367 | 343 | <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
|
368 | 344 | <dev:type><maml:name>SwitchParameter</maml:name>
|
369 | 345 | <maml:uri /></dev:type>
|
370 | 346 | <dev:defaultValue>False</dev:defaultValue>
|
371 | 347 | </command:parameter>
|
372 |
| -<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>Profile</maml:name> |
373 |
| -<maml:Description><maml:para>The profile version to install. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
374 |
| -</maml:para> |
375 |
| -</maml:Description> |
376 |
| -<command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
377 |
| -<dev:type><maml:name>String</maml:name> |
378 |
| -<maml:uri /></dev:type> |
379 |
| -<dev:defaultValue>None</dev:defaultValue> |
380 |
| -</command:parameter> |
381 |
| -<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Scope</maml:name> |
382 |
| -<maml:Description><maml:para>Specifies the installation scope of the modules. The acceptable values for this parameter are: AllUsers and CurrentUser. The AllUsers scope lets modules be installed in a location that is accessible to all users of the computer. The CurrentUser scope lets modules be installed in a location that is available only to the current user. |
383 |
| -</maml:para> |
384 |
| -</maml:Description> |
385 |
| -<command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
386 |
| -<dev:type><maml:name>String</maml:name> |
387 |
| -<maml:uri /></dev:type> |
388 |
| -<dev:defaultValue>None</dev:defaultValue> |
389 |
| -</command:parameter> |
390 | 348 | <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"><maml:name>Confirm</maml:name>
|
391 | 349 | <maml:Description><maml:para>Prompts you for confirmation before running the cmdlet.
|
392 | 350 | </maml:para>
|
|
425 | 383 | </maml:alert>
|
426 | 384 | </maml:alertSet>
|
427 | 385 | <command:examples><command:example><maml:title>Example 1</maml:title>
|
428 |
| -<dev:code>PS C:\> Install-AzureRmProfile -Profile '2017-03-09-profile'</dev:code> |
429 |
| -<dev:remarks><maml:para>Install all the modules associated with profile '2017-03-09-profile' |
| 386 | +<dev:code>PS C:\> Remove-AzureRmDefaultProfile</dev:code> |
| 387 | +<dev:remarks><maml:para> |
430 | 388 | </maml:para>
|
431 | 389 | </dev:remarks>
|
432 | 390 | </command:example>
|
433 | 391 | </command:examples>
|
434 | 392 | <command:relatedLinks></command:relatedLinks>
|
435 | 393 | </command:command>
|
436 | 394 | <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
|
437 |
| -<command:details><command:name>Install-AzureRmProfile</command:name> |
438 |
| -<command:verb>Install</command:verb> |
439 |
| -<command:noun>AzureRmProfile</command:noun> |
440 |
| -<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. |
| 395 | +<command:details><command:name>Set-AzureRmDefaultProfile</command:name> |
| 396 | +<command:verb>Set</command:verb> |
| 397 | +<command:noun>AzureRmDefaultProfile</command:noun> |
| 398 | +<maml:description><maml:para>Sets the given profile as a default profile to be used with all API version profile cmdlets. |
441 | 399 | </maml:para>
|
442 | 400 | </maml:description>
|
443 | 401 | </command:details>
|
444 |
| -<maml:description><maml:para>Install all the latest modules associated with a particular AzureRM Profile on the machine. Modules for a particular profile can be loaded in a new PowerShell session using Use-AzureRmProfile . |
| 402 | +<maml:description><maml:para>Sets the given profile as a default profile to be used with all API version profile cmdlets. Default profile selection is persisted across sessions and shells. |
445 | 403 | </maml:para>
|
446 | 404 | </maml:description>
|
447 |
| -<command:syntax><command:syntaxItem><maml:name>Install-AzureRmProfile</maml:name> |
| 405 | +<command:syntax><command:syntaxItem><maml:name>Set-AzureRmDefaultProfile</maml:name> |
448 | 406 | <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>Profile</maml:name>
|
449 |
| -<maml:Description><maml:para>The profile version to install. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
| 407 | +<maml:Description><maml:para>The profile version to set as default. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
450 | 408 | </maml:para>
|
451 | 409 | </maml:Description>
|
452 | 410 | <command:parameterValueGroup><command:parameterValue required="false" variableLength="false">2017-03-09-profile</command:parameterValue>
|
| 411 | +<command:parameterValue required="false" variableLength="false">latest</command:parameterValue> |
453 | 412 | <command:parameterValue required="false" variableLength="false"><others></command:parameterValue>
|
454 | 413 | </command:parameterValueGroup>
|
455 | 414 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
|
458 | 417 | <dev:defaultValue>None</dev:defaultValue>
|
459 | 418 | </command:parameter>
|
460 | 419 | <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Force</maml:name>
|
461 |
| -<maml:Description><maml:para>Automatically install modules for the given profile if they are not already installed. |
| 420 | +<maml:Description><maml:para>Set the given profile as default without prompting for confirmation. |
462 | 421 | </maml:para>
|
463 | 422 | </maml:Description>
|
464 | 423 | <dev:type><maml:name>SwitchParameter</maml:name>
|
|
496 | 455 | </command:syntaxItem>
|
497 | 456 | </command:syntax>
|
498 | 457 | <command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"><maml:name>Force</maml:name>
|
499 |
| -<maml:Description><maml:para>Automatically install modules for the given profile if they are not already installed. |
| 458 | +<maml:Description><maml:para>Set the given profile as default without prompting for confirmation. |
500 | 459 | </maml:para>
|
501 | 460 | </maml:Description>
|
502 | 461 | <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
|
|
505 | 464 | <dev:defaultValue>False</dev:defaultValue>
|
506 | 465 | </command:parameter>
|
507 | 466 | <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>Profile</maml:name>
|
508 |
| -<maml:Description><maml:para>The profile version to install. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
| 467 | +<maml:Description><maml:para>The profile version to set as default. You can get a list of available profile versions using Get-AzureRmProfile -ListAvailable |
509 | 468 | </maml:para>
|
510 | 469 | </maml:Description>
|
511 | 470 | <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
|
|
559 | 518 | </maml:para>
|
560 | 519 | </maml:alert>
|
561 | 520 | </maml:alertSet>
|
562 |
| -<command:examples><command:example><maml:title>Example 1</maml:title> |
563 |
| -<dev:code>PS C:\> Install-AzureRmProfile -Profile '2017-03-09-profile'</dev:code> |
564 |
| -<dev:remarks><maml:para>Install all the modules associated with profile '2017-03-09-profile' |
| 521 | +<command:examples><command:example><maml:title>Example 1 - Using Default Version Profile to Automatically Load Module Versions</maml:title> |
| 522 | +<dev:code>PS C:\> Set-AzureRmDefaultProfile -Profile '2017-03-09-profile' |
| 523 | +PS C:\> Import-Module AzureRM.Compute</dev:code> |
| 524 | +<dev:remarks><maml:para>Sets profile '2017-03-09-profile' as the default profile. When importing AzureRM modules like AzureRM.Compute, you will automatically import a version of the module compatible with the default profile setting, unless you explicitly specify a RequiredVersion. |
| 525 | +</maml:para> |
| 526 | +</dev:remarks> |
| 527 | +</command:example> |
| 528 | +<command:example><maml:title>Example 2 - Using Default Version Profile to Set Default Profile for BootStrapper cmdlets</maml:title> |
| 529 | +<dev:code>PS C:\> Set-AzureRmDefaultProfile -Profile '2017-03-09-profile' |
| 530 | +PS c:\> Install-AzureRmProfile</dev:code> |
| 531 | +<dev:remarks><maml:para>Sets the default profile as '2017-03-09-profile'. After this, BootStrapper cmdlets will automatically use the default profile if no profile is set. In this case, 'Install-AzureRmProfile' will install profile '2017-03-09-profile', since this profile was set as the default. |
565 | 532 | </maml:para>
|
566 | 533 | </dev:remarks>
|
567 | 534 | </command:example>
|
|
0 commit comments