File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
21
21
-->
22
22
## Upcoming Release
23
+ * Updated ` New-AzSshKey ` cmdlet to write file paths to generated keys to the Warning stream instead of the console.
23
24
24
25
## Version 4.23.0
25
26
* Remove ProvisioningDetails property from PSRestorePoint object.
Original file line number Diff line number Diff line change @@ -79,13 +79,13 @@ public override void ExecuteCmdlet()
79
79
{
80
80
writer . WriteLine ( keypair . PrivateKey ) ;
81
81
}
82
- Console . WriteLine ( "Private key is saved to " + privateKeyFilePath ) ;
82
+ WriteWarning ( "Private key is saved to " + privateKeyFilePath ) ;
83
83
84
84
using ( StreamWriter writer = new StreamWriter ( publicKeyFilePath ) )
85
85
{
86
86
writer . WriteLine ( keypair . PublicKey ) ;
87
87
}
88
- Console . WriteLine ( "Public key is saved to " + publicKeyFilePath ) ;
88
+ WriteWarning ( "Public key is saved to " + publicKeyFilePath ) ;
89
89
}
90
90
91
91
var psObject = new PSSshPublicKeyResource ( ) ;
You can’t perform that action at this time.
0 commit comments