Hi Shane, I got this feedback from system when entering Install-Module AzureRM NuGet provider is required to continue PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or 'C:\U
Question. why does get-command does not return anything for azurerm? PS C:\WINDOWS\system32> Get-Command -Module azurerm PS C:\WINDOWS\system32> Also, get-command-module azure gives me 655 commands whereas for you it is 708, is there I didn't execute correctlly?
What would be the updated code for (get-command -Module azure).count ? Right now, it seems all the previous AzureRM commands have migrated to Az. I'm a newbie and not sure how to update the .count command...
How to display all the branches of a particular resource group and switch between branches (by default it is master ) and display corresponding pipelines
Thanks for the video, this got me started and up and running quickly. Quick question, when starting a load of VM's in a ResourceGroup, how do you prevent the command you used from not waiting on a response back. For example, I have x6 VM's in a Resource Group, to start them up it takes long pauses in-between each of the 6 VM's when the power on and report back that they have started, before moving on to the next one?
I know exactly what you are talking about but I don't have a great answer. Though to be fair I never looked. If you find anything or get close let me know. :) Thanks
Hello, i am following along, however when i run the Install-Module azure -AllowClobber, i get the following error message: allow a parameter cannot be found that matches parameter name AllowClobber... any idea? maybe this video is out dated?
ua-cam.com/video/3jAH92mBbRk/v-deo.html You need to upgrade your version of PowerShell. Use that video to upgrade to 5.1 and then try Install-Module again.
Thank you Shane. When I run the command Login-AzureRM, it takes me the login screen, but return empty for account and subscription etc. Can you help me what may be the issue?
this happens when might be subscribed to more than one azure subscriptions (within same the same or different tenant id). Specify your subscription and tenant details while you try to login. - Login-AzureRmAccount -SubscriptionName "XXX" -TenantId "YYY"
Excellent video!!! But while running "Get-Command -Module AzureRM ", I am getting this: PS C:\windows\system32> TerminatingError(New-Item): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Could not find a part of the path 'C:\Users\mypc\.Azure\AzInstallationChecks.json'." Also my the command "(Get-Command -Module azurerm).count " is returning "0". Could you help with this? Thanks in advance.
i get this error when i run the Login-AzureRMAccount command Connect-AzureRmAccount: Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. pls help out
There are ways. I just haven't messed with any of them enough to create a video on it. :( When I do I will let you know. This is the method I plan to play with first if you want to read ahead. github.com/SharePoint/PnP-PowerShell/wiki/How-to-use-the-Windows-Credential-Manager-to-ease-authentication-with-PnP-PowerShell
So im new to all of this and trying to learn more; however, when i run get-azurermvm it returns nothing but says "No Tenant found in the context." What can i do about this?
yo i there still is anyone reading these comments: Help! I've installed azureRM but when i type: Get-Command -Module azureRM nothing shows. When I type Get-Command -Module azure i can see the commands. to me, it seems as if the rm module did not install. but if I type: Install-Module azureRM nothing happens. what went wrong?
Hi Shane, I'm blocked at the installation of AzureRM got an error message PS C:\Windows\system32> Install-module azurerm Install-module : The term 'Install-module' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Install-module azurerm + ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Install-module:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException What installation did I miss ? Thanks Yves
Thanks for the vedio Shane! I use windows 10 and my PowerShell version is 5.1 Name Value ---- ----- PSVersion 5.1.16299.98 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.16299.98 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 I tried installing AzureRM using "Install-Module AzureRM -verbose" command but i always face an error that says : PackageManagement\Install-Package : Package 'AzureRM.profile' failed to be installed because: The process cannot access the file 'C:\Users\anushaande\AppData\Local\Temp\xyvthkjj\Microsoft.Azure.Commands.Common.Authorization.dll' because it is being used by another process. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21 + ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidResult: (AzureRM.profile:String) [Install-Package], Exception + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage I tried installing this way for last two days but still the issue dint get resolved. I feel glad if you can tell me something about this error. Finally i tried installing it using WEBPI. This time i can see the list of AzureRM modules installed in Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager However (get-command -Module AzureRM).count returns 0. If you can tell me the reason for this and help me fix it, That helps me a lot :) Thanks in advance!
That wasn't the goal of the video. :) Here is a good link you can learn more about Azure. docs.microsoft.com/en-us/azure/fundamentals-introduction-to-azure Hope it helps.
Hi Shane,
I got this feedback from system when entering Install-Module AzureRM
NuGet provider is required to continue
PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program
Files\PackageManagement\ProviderAssemblies' or 'C:\U
Not sure. I would say update your PowerShell and go from there. Been a while for this one.
Great videos Shane! I hope they will be beneficial for when I start my networking job in a few weeks!
Question. why does get-command does not return anything for azurerm?
PS C:\WINDOWS\system32> Get-Command -Module azurerm
PS C:\WINDOWS\system32>
Also, get-command-module azure gives me 655 commands whereas for you it is 708, is there I didn't execute correctlly?
Not surprised the number would change. No big deal
What would be the updated code for (get-command -Module azure).count ? Right now, it seems all the previous AzureRM commands have migrated to Az. I'm a newbie and not sure how to update the .count command...
Not sure. Haven’t messed with it in a while.
This worked for me: (get-command -Module az*).count
How to display all the branches of a particular resource group and switch between branches (by default it is master ) and display corresponding pipelines
Yikes, I haven't done that.
when do you use Add-AzureAccount and when login-Azurermaccount ?
Hi Shane, Great Video. Thank you. (get-command -module azureRM).count returns 0 , After installing it. Is it replaced by AZ?
not sure. Been a while since I tried
Great teachings Shane! When I do my counts azure comes back with 655 however azurerm is 0. I'm on Win10 ps ver 5.1. Thoughts?
Sounds like you did not get the AzureRM cmdlets added successfully. Are they missing?
I have this same issue. Did you ever get it resolved?
Hallo, i have a problem that the Rm Module is not recognised. i have tried many solution from youtube but it didn't work. do yo have any idea?
Are you on PowerShell 5?
Thanks for the video, this got me started and up and running quickly. Quick question, when starting a load of VM's in a ResourceGroup, how do you prevent the command you used from not waiting on a response back. For example, I have x6 VM's in a Resource Group, to start them up it takes long pauses in-between each of the 6 VM's when the power on and report back that they have started, before moving on to the next one?
I know exactly what you are talking about but I don't have a great answer. Though to be fair I never looked. If you find anything or get close let me know. :) Thanks
Hey Shane, I can see you're using on prem, can you do the samething with Poweshell SPO?
Yes, I have videos doing similar stuff with SPO.
Hello, i am following along, however when i run the Install-Module azure -AllowClobber, i get the following error message: allow a parameter cannot be found that matches parameter name AllowClobber... any idea? maybe this video is out dated?
It is old. Maybe try install-module AzureRM
yeah... it would be nice if "Install-Module" actually worked. Was greeted with a nice red blurb about it not being recognized...
ua-cam.com/video/3jAH92mBbRk/v-deo.html
You need to upgrade your version of PowerShell. Use that video to upgrade to 5.1 and then try Install-Module again.
Thanks Shane! - Wish MS docs would tell us that when attempting to follow their guide.
@@ShanesCows I'm getting the same message and we are already running 5.1.14393.3053 according to psversiontable
R u from Cincy
I am. 😎
hey hi shane young, i have one doubt,please give me solution for that one.1 How can we install anti virus software in all virtual machines at a time.
I am not sure. Sorry
Thank you Shane. When I run the command Login-AzureRM, it takes me the login screen, but return empty for account and subscription etc. Can you help me what may be the issue?
Sorry I haven’t seen that one before. 😔
this happens when might be subscribed to more than one azure subscriptions (within same the same or different tenant id). Specify your subscription and tenant details while you try to login. - Login-AzureRmAccount -SubscriptionName "XXX" -TenantId "YYY"
Excellent video!!!
But while running "Get-Command -Module AzureRM
",
I am getting this:
PS C:\windows\system32> TerminatingError(New-Item): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Could not find a part of the path 'C:\Users\mypc\.Azure\AzInstallationChecks.json'."
Also my the command "(Get-Command -Module azurerm).count " is returning
"0".
Could you help with this? Thanks in advance.
I would try to install the module again.
Shane Young : thanks working fine👍
i get this error when i run the Login-AzureRMAccount command
Connect-AzureRmAccount: Could not load type 'System.Security.Cryptography.SHA256Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
pls help out
Not sure why. Sorry
ok, I am very new. These modules are microsoft provided? can I trust them?
Looks like they are! docs.microsoft.com/en-us/powershell/azure/install-azurerm-ps?view=azurermps-6.8.1
Yup. :)
Hi, great video! Is there any way to automate the login process, instead of typing the credentials each time?
There are ways. I just haven't messed with any of them enough to create a video on it. :( When I do I will let you know. This is the method I plan to play with first if you want to read ahead. github.com/SharePoint/PnP-PowerShell/wiki/How-to-use-the-Windows-Credential-Manager-to-ease-authentication-with-PnP-PowerShell
Thanks for your reply! After some digging, I found this method! Works quite nicely
4sysops.com/archives/auto-login-to-azure-with-powershell/
@@aaronstrickland8121 you can register the credentials in your machines registry keys and then call them in the script
So im new to all of this and trying to learn more; however, when i run get-azurermvm it returns nothing but says "No Tenant found in the context."
What can i do about this?
hi
Could you please suggest the command on how to configure CORS for web app in azure by powershell
Hi Dolly. Sorry I don't have anything. If you figure something out that is helpful please share.
Sure shane, anyways thanks for valuable video
yo i there still is anyone reading these comments: Help! I've installed azureRM but when i type: Get-Command -Module azureRM nothing shows. When I type Get-Command -Module azure i can see the commands. to me, it seems as if the rm module did not install. but if I type: Install-Module azureRM nothing happens.
what went wrong?
I think they changed and only use the Azure cmdlets now. You should be able to do all the same stuff just no RM anymore.
hello shane, im using my macbrook pro, and nothing happens after i insert "install-module azureRM"
uograde powershell to version 5
Does upgrading working as Vinod suggested?
@@ShanesCows $PSVersionTable.PSVersion aka.ms/wmf5download
Thank you sio much Shane, very useful for beginners.
Welcome. 😀
how to start a particular VM in RG...
Not sure
Hello, my server does not have internet available, does it have any offline installer?
I think you can download it. I have never tried though. Sorry
Hi Shane,
I'm blocked at the installation of AzureRM
got an error message
PS C:\Windows\system32> Install-module azurerm
Install-module : The term 'Install-module' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Install-module azurerm
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What installation did I miss ?
Thanks
Yves
You need to update your version of PowerShell. This video should help. ua-cam.com/video/3jAH92mBbRk/v-deo.html
really good videos. Thanks!!!
Thanks 😊
Great Working
Thanks
Thanks for the vedio Shane! I use windows 10 and my PowerShell version is 5.1
Name Value
---- -----
PSVersion 5.1.16299.98
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.98
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I tried installing AzureRM using "Install-Module AzureRM -verbose" command but i always face an error that says :
PackageManagement\Install-Package : Package 'AzureRM.profile' failed to be installed because: The process cannot access the file
'C:\Users\anushaande\AppData\Local\Temp\xyvthkjj\Microsoft.Azure.Commands.Common.Authorization.dll' because it is being used by another process.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (AzureRM.profile:String) [Install-Package], Exception
+ FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
I tried installing this way for last two days but still the issue dint get resolved. I feel glad if you can tell me something about this error.
Finally i tried installing it using WEBPI. This time i can see the list of AzureRM modules installed in
Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager However (get-command -Module AzureRM).count returns 0. If you can tell me the reason for this and help me fix it, That helps me a lot :)
Thanks in advance!
Nice video Shane!! Keep it up :)
Thanks
really great job !!
Thanks
You are awesome dude
Thanks 🙏
Thanks Shane
mine said "RemoteSigned" Is that bad?
+jay l that should work.
OK thanks I thought I got hacked or something
Hi! Can you outline for me which servers/DB's i need to subscribe to please? Thanks!
Hi Mona. I don't understand your question. Happy to help if I can.
Great work buddy
Thank you.
It''s really nice videos.....
Thank you. 👍
Didn't understand anything.
What didn’t you understand?
I don't know anything about Microsoft Azure and ur video doesn't give the introduction of Azure.
That wasn't the goal of the video. :) Here is a good link you can learn more about Azure. docs.microsoft.com/en-us/azure/fundamentals-introduction-to-azure Hope it helps.
Thanks