ä¾ãã°ãGet-Location ã§åå¾ãããã¡ã¤ã«ä¸è¦§ã®ä¸ããç¹å®ã®ååã®ãã¡ã¤ã«ãæ¢ããããã°ã 以ä¸ã®ããã«ãã¾ãã > ls C:\Windows | %{$_.Name} | ?{$_ -eq "web"} Web > ls C:\Windows | %{$_.Name} | ?{$_ -like "we*"} Web > ls C:\Windows | %{$_.Name} | ?{$_ -match "^we.*"} Web ç½®æã¯ã ã対象ã®æåå -replace ç½®æãããé¨å, ç½®æå¾ã®æååã ã¨ããæ¸å¼ã§è¡ãã¾ãã ï¼3é æ¼ç®ã«è¦ããªãããªãã§ããã -replace ã®å³ãªãã©ã³ããé åãªã ããï¼ > $a = "Windows ã®æ°ããã³ãã³ãã©ã¤ã³ ã·ã§ã«ã§ãã" > $a -replace "ã§ãã", "ãªã®ã§ããã" Windows ã®æ°ããã³ãã³ãã©
第6åãé²åããActive Directoryï¼Windows Server 2008 R2ã®ç価ï¼3/3 ãã¼ã¸ï¼ Active Directory PowerShellã¢ã¸ã¥ã¼ã« Active Directoryãã³ãã³ãã©ã¤ã³ãã管çããææ³ã¯ãä¸çä¸ã®å¤ãã®ã·ã¹ãã 管çè ã«ãã£ã¦æ¨¡ç´¢ããç¶ãã¦ãããç¾æç¹ã§ã¯ADSIï¼Active Directory Service Interfaceï¼ã使ç¨ããWindows Scriptï¼Windows Script Hostãç¥ãã¦WSHã¨å¼ã°ãããã¨ãå¤ãï¼ã«ãã管çãå®çªã®ææ³ã¨ãªããæ¸ç±ãWebããã¯å¤§éã®ãµã³ãã«ã»ã³ã¼ãããã³ãã®è§£èª¬ãå ¥æã§ãããWindows Scriptã«å¯¾ãã人æ°ã¯é常ã«é«ãï¼ä¾å度ãé«ãã¨ãããããï¼ããã¤ã¯ãã½ããã¯ãHey, Scripting Guy!ãã¨é¡ããè¨äºã«ãããã¹ã¯ãªããã£ã³ã°ææ³ã®åèï¼
PowerShellã®åºæ¬ï¼åç·¨ï¼ï¼Windows PowerShellã³ãã³ãï¼ã¹ã¯ãªããã£ã³ã°å ¥éï¼1/5 ãã¼ã¸ï¼ 対話åã·ã§ã«ã¨ã¹ã¯ãªããã£ã³ã°å®è¡ç°å¢ã¨ãå®å ¨ã«çµ±åããã次ä¸ä»£Windowsã·ã§ã«ãPowerShellã管çè ã¨ãã¦æ´»ç¨ããããã®ç¬¬ä¸æ©ã é£è¼ç®æ¬¡ Windowsã¨ãããã©ãããã©ã¼ã ã®ç¬¬ä¸ã®ç¹å¾´ã¯ãä½ãããã¦ãããã®å å®ããGUIã ãããã°ã©ãã£ã«ã«ãªã¦ã¼ã¶ã¼ã»ã¤ã³ã¿ã¼ãã§ã¤ã¹ãä»ãããã¨ã§ãã¦ã¼ã¶ã¼ã¯è¤éãªã³ãã³ããªã©ãç¿å¾ãããã¨ãªããç´æçã«ãã¼ã«ãå©ç¨ãããã¨ãã§ãããæ¯è¼çç¥èã®æµ ãã·ã¹ãã 管çè ã§ãããããªãã«Windows OSã管çã§ãã¦ãã¾ãã®ã¯ãã¾ãã«ãã®ããªããGUIã®åå¨ããã§ããã¨ãã£ã¦ãããã ããã ãã£ã¨ããGUIç°å¢ãããããã®ã¯ã¡ãªããã°ããã§ã¯ãªããã¨ããã®ããæ¥å¸¸çã«è¡ãããã«ã¼ãã³ã¯ã¼ã¯ãè¡ãã«éãã¦ã¯ãå¾ã ã«ãã¦ç ©éãªä½
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}