-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-AzConnectedMachineRunCommand and other run commands missing from Az.ConnectedMachine 0.10.0 #26539
Comments
I'll loop in ConnecteMachine team to help |
Having the exact same issue mentioned, the cmdlet does not exist in Az.ConnectedMachine 0.10 module as it should. My issue is across all attempted sources including:
|
I'm not too great with Github searching but I think @yaotongms removed it with this commit https://github.com/Azure/azure-powershell/pull/26215/commits And then |
Version 1.0.0 of Az.ConnectedMachine is generated from our stable version API, which doesn't contain run commands operations. We have a new release towards a preview version API coming up on the 19th. That module will contain run commands and other preview operations. Sorry for the confusion! |
What happened with 0.10.0 then? Was that just a precursor to 1.0.0? |
Description
In versions 0.8.0 and 0.9.0 New-AzConnectedMachineRunCommand is listed on Powershell Gallery and is in the .psd files for the Az.ConnectedMachine module. It is also documented on https://learn.microsoft.com/en-us/powershell/module/az.connectedmachine/new-azconnectedmachineruncommand?view=azps-12.4.0. However in 0.10.0 this command and several others are no longer in the psd file, if they were moved out then the documentation is out of date.
From 0.8.0
FunctionsToExport = 'Connect-AzConnectedMachine', 'Get-AzConnectedExtensionMetadata',
'Get-AzConnectedLicense', 'Get-AzConnectedMachine',
'Get-AzConnectedMachineExtension',
'Get-AzConnectedMachineRunCommand',
'Get-AzConnectedNetworkSecurityPerimeterConfiguration',
'Get-AzConnectedPrivateLinkScope',
'Install-AzConnectedMachinePatch',
'Invoke-AzConnectedAssessMachinePatch', 'New-AzConnectedLicense',
'New-AzConnectedLicenseDetail', 'New-AzConnectedMachineExtension',
'New-AzConnectedMachineRunCommand',
'New-AzConnectedPrivateLinkScope', 'Remove-AzConnectedLicense',
'Remove-AzConnectedMachine', 'Remove-AzConnectedMachineExtension',
'Remove-AzConnectedMachineRunCommand',
'Remove-AzConnectedPrivateLinkScope', 'Set-AzConnectedLicense',
'Set-AzConnectedMachineExtension',
'Set-AzConnectedPrivateLinkScope', 'Update-AzConnectedExtension',
'Update-AzConnectedMachine', 'Update-AzConnectedMachineExtension',
'Update-AzConnectedMachineRunCommand',
'Update-AzConnectedPrivateLinkScopeTag'
From 0.10.0
FunctionsToExport = 'Connect-AzConnectedMachine', 'Get-AzConnectedExtensionMetadata',
'Get-AzConnectedLicense', 'Get-AzConnectedMachine',
'Get-AzConnectedMachineExtension',
'Get-AzConnectedNetworkSecurityPerimeterConfiguration',
'Get-AzConnectedPrivateLinkScope',
'Install-AzConnectedMachinePatch',
'Invoke-AzConnectedAssessMachinePatch',
'Invoke-AzConnectedReconcileNetworkSecurityPerimeterConfiguration',
'New-AzConnectedLicense', 'New-AzConnectedLicenseDetail',
'New-AzConnectedMachineExtension',
'New-AzConnectedPrivateLinkScope', 'Remove-AzConnectedLicense',
'Remove-AzConnectedMachine', 'Remove-AzConnectedMachineExtension',
'Remove-AzConnectedPrivateLinkScope', 'Set-AzConnectedLicense',
'Set-AzConnectedMachineExtension',
'Set-AzConnectedPrivateLinkScope', 'Update-AzConnectedExtension',
'Update-AzConnectedMachine', 'Update-AzConnectedMachineExtension',
'Update-AzConnectedPrivateLinkScopeTag'
Issue script & Debug output
New-AzConnectedMachineRunCommand:
Line |
8 | $result = New-AzConnectedMachineRunCommand -ResourceGroupName …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The term 'New-AzConnectedMachineRunCommand' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Environment data
This is running in Azure Automation with 7.2 runtime
Module versions
This is running in Azure Automation with the following modules added.
Az
Default
Azure CLI
Default
Az.Accounts
3.0.4
Az.Compute
8.4.0
Az.ConnectedMachine
0.10.0
Az.GuestConfiguration
0.11.1
Az.KeyVault
6.2.0
Az.Storage
7.4.0
Error output
No response
The text was updated successfully, but these errors were encountered: