Skip to content

Commit af9dfe7

Browse files
committed
Update clu-getstart.md
1 parent dbbeb00 commit af9dfe7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clu-getstart.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ To test on osx/linux boxes, do #1, open `<repo-root>\drop\clurun`, copy the flav
7373
```az subscription get --SubscriptionName | az context set```
7474
* You can capture piped output using redirection to a file - the result will be the json serialization of the output object.
7575
```az subscription get > subscriptions.json```
76-
* You can use file input tu aparameter using '@' notation:
76+
* You can use file input to a parameter using '@' notation:
7777
```az command --param1 @file1.json```
7878
Reads input from file1.json and attempts to deserialize the .net object that is the Parameter type for ```param1```
7979
```az command --param1 @@file1.json```
8080
Does the same thing, but treats the input from ```file1.json``` as if it come from the pipeline, so that multiple objects will result in multiple invocations of ```ProcessRecord()``` for the target cmdlet.
8181
* There are some known issues with the current approach to sessions, which can cause session variables to not be propagated when running cmdlets in a pipeline, to work around this, set the 'CmdletSessionId' environment variable to a numeric value - all cmdlets running from the shell will use that session id, and sessions will work with pipelining
8282

83-
```set CmdletSessionId=1010 ```
83+
```set AzureProfile=1010 ```
8484

8585
### Testing Cmdlets
8686

@@ -119,7 +119,8 @@ Please set the environment variables for either Username/Password (no 2FA) or Se
119119

120120
- To implement an xunit bash scenario test you must
121121
- Add a ```[Collection("SampleCollection")]``` attribute to your test class
122-
- Add a field to your class of type ```ScenarioTestFixture``` and add a constructor that initializes it
122+
- Add a field to your class of type ```ScenarioTestFixture``` and add a constructor that initializes it.
123+
123124
```C#
124125
[Collection("SampleCollection")]
125126
public class SampleTestClass

0 commit comments

Comments
 (0)