DHJJ [Hatsune's Journal Japan] blog

Hatsune's Journal Japan blog

目次

Blog 利用状況

ニュース

最新ツイート

運営サイト

Hatsune's Journal Japan
DHJJ

著作など

資格など

OCP
MCP

書庫

日記カテゴリ

わんくま同盟

[Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更)

前準備

http://hatsune.hatenablog.jp/entry/2018/04/11/010156

Azureへのログイン

PowerShellを起動して次のコマンドを入力するとAzureへのログインダイアログが表示されます。

Login-AzureRmAccount

image27_thumb_thumb

ここでIDとパスワードを入力してサインインに成功すると対象となるサブスクリプションに接続します。

しかし、複数のサブスクリプションに紐づいている場合は、目的のサブスクリプションにつながらない場合もあります。

その場合は、サブスクリプションを指定してログインしてもいいのですが、Login-AzureRmAccountでのサブスクリプション指定には、そもそもとしてサブスクリプションIDが必要です。サブスクリプションIDを調べるのにブラウザでAzure Portalにログインするのも本末転倒な気がします。

そこで便利なのが、Get-AzureRmSubscriptionです。

Get-AzureRmSubscription

image_thumb1

これでサブスクリプションIDが分かったので、使いたいサブスクリプションを指定します。指定は、サブスクリプションIDでもサブスクリプション名でもいいのですが、サブスクリプションID指定をよく使います。

Select-AzureRmSubscription -SubscriptionId 'xxxx-xxxx-xxxxx-xxxx'

Select-AzureSubscriptionがいわゆるclassicと呼ばれているもので、Select-AzureRmSubscriptionがAzureリソースマネージャーによる指定となります。

注意点

Select-AzureRmSubscriptionはあくまでもAzureリソースマネージャーによるサブスクリプションの変更です。

この方法で接続およびサブスクリプション指定した場合は、以降のコマンドもhogehoge-AzureRmHogehogeのように「Azure」でなく「AzureRm」系のコマンドを使う必要があります。

投稿日時 : 2018年4月15日 16:26

Feedback

# re: [Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更) 2018/05/19 12:56 geometry dash unblocked

Thanks for sharing the wonderful article! This is really informative!!

# re: [Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更) 2018/07/14 11:23 phoebesss

http://www.hydiapearls.com Coach Outlet Online
http://www.lumbergear.com Coach Factory Outlet
http://www.peoplesparkfilm.com Coach Factory Outlet
http://www.insite13.com Coach Outlet
http://www.artiswhyigetupinthemorning.com Coach Factory Outlet
http://www.wowinnovators.com Coach Factory Outlet
http://www.outletcoachonlinestores.com Coach Outlet Store Online
http://www.outletstorescoachonline.com Coach Outlet Store Online
http://www.chawengbayview.com Coach Factory Outlet
http://www.hamstersblog.com Coach Outlet Online
http://www.trudysfountainofyouth.com Coach Outlet Store
http://www.unpluggedtucson.com Coach Outlet Online
http://www.cpachpursesfactoryonline.com Coach Purses Outlet
http://www.factoryoutletonlinecoachstore.com Coach Factory Outlet
http://www.glamour-illustrated.com Coach Outlet Store
http://www.factoryonlinecoach.com Coach Factory Outlet

# re: INI 編集ツール IniModifier を作成してみる (1) 2018/08/20 12:42 chenlixiang

2018.8.20chenlixianghttp://www.asicso.com
http://www.goyardhandbag.us.com
http://www.cheaptoms.us.com
http://www.new-balanceoutlet.net
http://www.beats-by-dre.co.uk
http://www.jordan9.us
http://www.longchamp-handbagsuk.org.uk
http://www.kate-spade-outlets.us.com
http://www.truereligionjeansoutlet.in.net
http://www.kobebryantshoes10.com
http://www.swarovski-gioielli.it
http://www.guccihandbags.in.net
http://www.jordans.com.es
http://www.airjordanpaschere.fr
http://www.givenchybags.us.com
http://www.balmainjeans.us
http://www.kevin-durantshoes.us.com
http://www.pradaoutlet.in.net
http://www.airmax-90.in.net
http://www.discount-chanel.com
2018.8.20chenlixiangコメント

# leilei123 2018/08/29 16:57 leilei3915

2018829 leilei3915コメント

http://www.michaelkorsoutletk.us.com
http://www.ralphlauren-saleclearance.org.uk
http://www.oakleysunglasseswholesalec.us.com
http://www.katespadehandbagsinc.us.com
http://www.manoloblahnik.us.org
http://www.ferragamoshoessale.us.com
http://www.longchampoutletonlinestore.us.org
http://www.redbottomsshoes.us.org
http://www.uggoutletstores.ca
http://www.coachoutletonlineoutlet.us.com
http://www.valentinooutletstore.us.com
http://www.coachfactoryoutlet.com.co
http://www.coachoutletstoreonlines.com.co
http://www.michaelkorsoutlet-clearance.in.net
http://www.canadagooseoutletshop.us.com
http://www.nikeshoesuk.co.uk
http://www.michaelkorsoutletsclearance.us.com
http://www.true-religion.us.com
http://www.katespadeonlineoutlet.us.org
http://www.christianlouboutinoutletinc.us.com
http://www.michaelkorsoutletpro.us.com
http://www.pandoraoutletstores.us.com
http://www.coachoutletfactorysale.us.com
http://www.ugg-bootsstores.us.com
http://www.pandoraoutletonlines.us.com
http://www.uggcanada.ca
http://www.coachfactoryoutletstore.us.org
http://www.mulberryhandbagss.co.uk
http://www.louboutinshoesoutlet.us
http://www.fitflops-saleclearance.us

# re: [Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更) 2018/10/19 17:58 dongdong8

http://www.fitflopss.us.com
http://www.ferragamooutlet.us.com
http://www.ralphlaurensale.org.uk
http://www.uggstore.us.com
http://www.uggbuys.com
http://www.katespadehandbagssale.us.com
http://www.salvatoreferragamo.in.net
http://www.babyuggs.us.com
http://www.adidasflipflops.us.com
http://www.uggfactoryoutletstore.us.com
http://www.marceloburlon.us.com
http://www.nikesb.in.net
http://www.supra.us.org
http://www.uggformen.us.com
http://www.michaelkorsoutletcheapest.us.com
http://www.prada.us.org
http://nike.outletstore.us.com
http://www.uggclearance.us.com
http://www.pandora-jewelry.name
http://www.viscontipens.us.com
http://www.mikimotojewelry.com
http://www.suprashoesclearance.us.com
http://www.vansshoes.us.org
http://www.thenorthfacecom.us.com
http://www.ralphlauren.in.net
http://www.uggoutletsofficial.us.com
http://www.omegawatches.us.org
http://www.michael-korstaschen.ch
http://www.cheapnfljerseysnike.us.com
http://www.michaelkorsoutlet70off.us.com
http://www.cheapnhljerseysshop.us.com
http://www.jordanretro.us
http://www.airmax1.us
http://www.baseballbats.us.com
http://www.nikesshoes.us.com
http://www.uggbootsonsale65off.us.com
http://www.coachoutletfactoryofficial.us.com
http://www.airmax97.org
http://www.leejeans.us.com
http://www.burberrysale.us.org
http://www.camisetasdefutbolbaratases.es
http://www.oakleysunglassewholesale.us.com
http://www.ray-banssunglasses.org.uk
http://www.persolsunglasses.us.com
http://www.adidasyeezy350boost.us.com
http://www.y3shoes.us.com
http://www.pandoraukcharms.co.uk
http://www.oakley-vaultsunglasses.us.com
http://www.michaelkorsshandbags.us.com
http://www.airjordanretro.fr
http://www.uggsofficialsite.in.net
http://www.raybansunglassesoutlet.net.co
http://www.flipflops.me.uk
http://www.uggsales.us.com
http://www.truereligionsale.com.co
http://www.maxairnike.us.com
http://www.flops.us.com
http://www.vans.us.org
http://www.jordan5.us
http://www.oakleysunglassescanada.ca
http://www.russellwestbrook.us.com
http://www.mauijimsunglasses.us.com
http://www.soldier11.com
http://www.malone-souliers.org
http://www.thehundredsclothing.com
http://www.jordan3.net
http://www.nikefree.net
http://www.nikekd10.us.com
http://www.toryburchhandbags.us.org
http://www.airmaxnl.nl
http://www.beatsbydrdresolo.us
http://www.adidasultra-boost.us.com
http://www.nikeoutletus.us.com
http://www.shopbasketballshoes.us.com
http://www.outletuggsale.us.com
http://www.nikekd8.com
201810.19wengdongdong

# dongdong8 2018/11/21 13:47 wengdongdong053@outlook.com

http://www.kobe11.in.net
http://www.adidasstoreuk.me.uk
http://www.cheapnfljerseysfree.us.com
http://www.huarache.us.com
http://www.nikeuktrainers.me.uk
http://www.yoga-pants.us.com
http://www.adidasoutletadidas.us.com
http://www.coachhandbagsfactoryoutletonline.us.com
http://www.lebron13.org
http://www.manoloblahnikshoes.us.com
http://www.coachoutletstoreonlineclearances.us.org
http://www.vetementsclothing.com
http://www.nikeoff.com
http://www.ralphlaurens.fr
http://www.northfaceoutlet.us.com
http://www.coachonline.us.org
http://www.nikeairforce1.net
http://www.rayban.net.co
http://www.nikeoutletstoreonline.us.com
http://www.nikeblazer.fr
http://www.levisjeans.us.com
http://www.pandorajewelrysoutlet.us.com
http://www.tory-burchshoes.us.com
http://www.cartierjewelry.us.com
http://www.swarovskirings.us.com
http://www.tiffanyjewelrybracelet.us.com
http://www.toryburchsandals.us.com
http://www.lululemon.in.net
http://www.nikestores.us
http://www.suprashoesclearance.us.com
http://www.mkpurse.us.com
http://www.kanyeyeezyshoes.us.com
http://www.uggbootsonsale75off.us.com
http://www.michaelkors.org.uk
http://www.underarmouroutletclearance.com
http://www.ralphlauren-poloshirts.me.uk
http://www.jordan8.net
http://www.uggsaustralia.in.net
http://oakley.sunglassesoutlet.us
http://www.canadagoose-sale.ca
http://www.taghuer.us.com
http://www.camisetasdefutbolbaratases.es
http://www.adidasnmdoutlet.us.com
http://www.tomfordsunglasses.us.com
http://www.canada-goosejacket.ca
http://www.coachoutletonlinestore.ca
http://www.skecherssandals.us.com
http://www.nobisjackets.us.com
http://www.michaelkorsoutletcheapest.us.com
http://www.newbalanc.in.net
http://www.uggforkids.us.com
http://www.converseshoesoutlet.us.com
http://www.ray-banssunglasses.org.uk
http://www.uggfactoryoutletstore.us.com
http://www.adidasjeremyscott.in.net
http://www.miumiusunglasses.com
http://www.michaelkorsoutletonsale.us.com
http://www.pradahandbagsoutlet.us.com
http://www.katespadehandbagsoutlet.us.org
http://www.stephen-curryshoes.us.com
http://www.shopbrandbelts.com
http://www.outletcanadagoosesale.us.com
http://www.nikemercurial.us
http://www.spaldingbasketball.us
http://www.arcteryxsclothing.us.com
http://www.truereligionoutletjeans.us
http://www.coachoutletstoreonlineofficial.us.com
http://www.uggstores.us.com
http://www.newbalancesandals.us.com
http://www.swarovskijewelryoutlet.us.com
http://www.shoecarnival.us.com
http://www.michaelkorsoutlet70off.us.com
http://www.cheapjordansshoes.in.net
http://www.nikeoutletus.us.com
http://www.uggsboots.org
http://www.longchampoutlet-store.us.com
http://www.viscontipens.us.com
http://www.juicycoutureoutlet.us.com
http://www.coachcom.us.com
http://www.mooseknucklesjackets.us.com
http://www.wholesaleoakleysunglasses.us.org
http://www.adidaswings.name
http://www.macmakeup.org.uk
http://www.nikelunarglide.us
http://www.audemarspiguet.us.com
http://www.coachoutletstore.eu.com
http://www.pandorajewelry-canada.ca
http://www.hardenvol2.us.com
http://www.supreme-newyork.com
http://www.balenciagashop.us.com
http://www.linksoflondonuk.me.uk
http://www.uggsstoreoutlet.us.com
http://www.adidasoutlets.org
http://www.balenciaga-triples.us.com
http://www.coachoutletonline-sale.us.com
http://www.underarmourshoes.in.net
http://www.nikedunksb.us
http://www.supremeclothing.us.com
http://www.katespade-outlet.in.net
http://www.newcoachoutlet.us.com
http://www.longchampsacsoldes.fr
http://www.mulberryhandbags.us.com
http://www.nikeshox.in.net
http://www.nikeairmax.us.org
http://www.michaelkorsoutletsoff.us.com
http://www.monsterheadphones.us.com
http://www.fitflopsoutlet.us.com
http://www.omega.in.net
http://www.cheapnfljerseys.in.net
http://www.airforce1.in.net
http://www.canadagoosejacketsonsale.us.com
http://www.christianlouboutinsoutlet.us.com
http://www.tevasandals.us.com
http://www.raybansunglassesoutlet.net.co
http://www.woolrichjackets.us.com
http://www.kevindurantshoes.us.com
http://www.tiffanyandcojewelry.us.com
http://www.nikekd10.us.com
http://www.burberrysale.us.org
http://www.burberry-outlet-stores.us.com
http://www.coachfactoryoutlet-online.eu.com
http://www.onitsukatigershoes.us.com
http://www.pelikanpens.us.com
http://www.uggbuys.com
http://www.x-largeclothing.com
http://www.uggssaleoutlet.org
http://www.russellwestbrook.us.com
http://www.montblanccom.us.com
http://www.hermesoutlets.us.com
http://www.outletsuggstores.us.com
http://www.uggboots.mex.com
http://www.stephcurryjerseys.com
http://www.soccerjersey.eu
http://www.russellwilsonjerseys.us
http://www.victoriassecret.us.com
http://www.ralphlaurenjeans.us
http://www.converseshoes.us.org
http://www.fila.us.com
http://www.lebronjamesjerseys.us.com
http://www.raybansunglassesoutlet.co.uk
http://www.pandorajewelry.us.org
http://www.uggoutletstore.us.org
http://www.airmax1.us
http://www.coach-factoryonline.us.org
http://www.supremeclothing.me.uk
http://www.jordan6.net
http://www.jordan4.net
http://www.christianlouboutinshoessale.org.uk
http://www.adidasyeezy350.us.com
http://www.stuartweitzmanshoes.us.com
http://www.cheapmichaelkorshandbags.us.org
http://www.converse.me.uk
http://www.adidasflipflops.us.com
http://www.thenorthfacejackets.us.org
http://www.nikeairmax90.us.org
http://www.nfl-jersey.in.net
http://www.ralphlaurenfactorystore.us.com
http://www.nikeairmax90.com.de
http://www.nikeepicreactflyknit.us.com
http://www.dansko.us.com
http://www.mauijimsunglasses.us.com
http://www.christianoronaldojersey.com
http://www.supremeparis.fr
http://www.airjordan-14.us
http://www.adidasoutletstores.com
http://www.nikeshoesnike.us.com
http://www.oakleysunglasses.ru
http://www.pandorajewelrycanada.ca
http://www.fitflopss.us.com
http://www.vans.us.org
http://www.versaceclothing.com
http://www.outletmichaelkorsoutletonline.us.com
http://www.lightup-shoes.us.com
http://www.redbottoms.us.org
http://www.uggbootsshop.com
http://www.nhl-hockeyjerseys.us.com
http://www.ralph-laurenpolouk.org.uk
http://www.maccosmetics.org.uk
http://www.cheapsoccerjersey.us.com
http://www.fingerlingsmonkey.org
http://www.hollisteroutlet.us.org
http://www.soldier11.com
http://www.yeezydesertrat500.us.com
http://www.adidassuperstarshoes.us.com
http://www.adidasslides.us.com
http://www.versacebags.us.com
http://www.ralphlaurensale.org.uk
http://www.maillotdefootfrance.fr
http://www.uggs-bootsoutlet.us.com
http://www.louboutinoutlets.us.com
http://www.uggbootssale.in.net
http://www.uggsofficialsite.in.net
http://www.adidasyeezy350boost.us.com
http://www.lebron15.us.org
http://www.babyuggs.us.com
http://www.airmax95.us.org
http://www.jordans.in.net
http://www.ralplaurenuk.org.uk
http://www.burberryoutlet.com.co
http://www.fitflopssale.org.uk
http://www.uggsslippers.us.org
http://www.coachoutlet-factory.us.com
http://www.timberlandoutlet.us.org
http://www.christianlouboutinoff.us
http://www.lebronambassador10.us.com
http://www.jordan-femmepascher.fr
http://www.northfaceoutletstore.us.org
http://www.cheapbestnbajerseys.us.com
http://www.air-jordanpascher.fr
http://www.ray-bansunglassesoutlet.com.co
http://www.louboutins.me.uk
http://www.wwwnorthface.us.com
http://www.nikehyperdunks.com
http://www.beatsbydrdresolo.us
http://www.nikeflightbonafide.us
http://www.coachoutlet.net.co
http://www.ferragamooutlet.us.com
http://www.burberryoutlet-canada.ca
http://www.airjordan.me.uk
http://www.raybansunglassesforwomen.us.com
http://www.truereligion-jeans.us
http://www.pumasoutlet.us.com
http://www.hervelegerdresses.us.com
http://www.fussballtrikotsshop.de
201811.21wengdongdong

# I like the blog too much 2019/01/03 13:07 Tina

https://123gamesfree.com/tetroid-3/

# re: [Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更) 2019/04/02 11:41 qqq

http://www.soccerjerseys.us.com
http://www.coachoutletclearancesale.us.com
http://www.truereligionoutlet.in.net
http://www.cheapsnapbacks.us.org
http://www.ralphlauren-polo.us.org
http://www.newenglandpatriots-jerseys.us
http://www.guccioutletstores.us.com
http://www.canada--goose.ca
http://www.rosherun.org
http://www.coach-outletonlineclearance.us.com
http://www.coachfactoryoutlet-onlinestore.us.com
http://www.uggoutletsale.net.co
http://www.outletchristianlouboutin.us.com
qqq

# jordan 11 concord 2019/04/17 7:40 znwnohhhzjj@hotmaill.com

Game Killer Apk Download Latest Version for Android (No Ad) ... Guess not because Game killer full version app is not available on Play store.

# Nike Outlet 2019/04/28 18:32 xgulsnhdzql@hotmaill.com

Raja's wife and other relatives pleaded for leniency for what they said was a bad decision in a difficult moment doing a dangerous job. His lawyers condemned the notion that Raja, as a Muslim man of Asian descent, was motivated by racial prejudice.

# cheap jerseys from china 2019/05/01 6:36 thbcvsqvbgr@hotmaill.com

"In LA, we played really hard. In our last two home games, we let our guard down. The one thing you should know from watching the Clippers all years is that this is a competitive, fun team that enjoys playing together. They're not going to go away. You've got to put them away by competing."

# Nike 2019/05/08 9:22 vhzdfks@hotmaill.com

Raja's lawyers have appealed to have the conviction overturned.

# Pandora 2019/05/08 14:59 xyfrzbmjah@hotmaill.com

Appearing at the same She The People forum, Bernie Sanders was heckled by several audience members while he recalled participating in the March on Washington in 1963 and hearing Martin Luther King Jr.’s “I Have a Dream” speech.

# Cheap NFL Jerseys 2019/05/21 5:15 pkohyqrv@hotmaill.com

http://www.nikepegasus-35.us/ Nike Pegasus 35

# nike factory outlet 2019/05/30 17:12 bghfccxzyf@hotmaill.com

http://www.nikefactoryoutletstoreonline.us/ nike factory outlet

# Travis Scott Jordan 1 2019/05/30 18:20 wntgtdqwu@hotmaill.com

But through this reluctant and unexpected admittance into the world of infertility,Jordan I have learned the value of striving toward hope; it may come without the guarantee of reward. I’ve had to turn my dream over to science. But I now know that whatever the future brings,Jordan I will be grateful for every moment.

# re: [Azure]Azure PowerShellの具体例(例2:接続先サブスクリプションの変更) 2019/06/12 16:42 wings io

私は本当に人々に考えさせることができる記事を通して読むのが好きです。また、私がコメントすることを許可してくれてありがとう!

# NFL Jerseys 2019 2019/06/16 3:50 tdgqft@hotmaill.com

http://www.authenticnflcheapjerseys.us/ NFL Jerseys Wholesale

# Yeezy 2019/06/27 15:47 ohxyixpldmy@hotmaill.com

http://www.wholesalenfljerseysshop.us/ Cheap NFL Jerseys

# Jordan 12 Gym Red 2018 2019/07/01 16:50 ofnfrnv@hotmaill.com

http://www.nfljerseys2019.us/ NFL Jerseys 2019

タイトル  
名前  
Url
コメント