{"id":1085,"date":"2022-08-23T17:35:53","date_gmt":"2022-08-23T08:35:53","guid":{"rendered":"https:\/\/ezrobot.biz\/knowledge\/?post_type=lsvr_kba&#038;p=1085"},"modified":"2022-08-23T17:35:54","modified_gmt":"2022-08-23T08:35:54","slug":"%e3%80%90%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%80%91-%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e5%ae%9f%e8%a1%8c%ef%bc%88powershell%ef%bc%89","status":"publish","type":"lsvr_kba","link":"https:\/\/ezrobot.biz\/knowledge\/knowledge-base\/%e3%80%90%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%80%91-%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e5%ae%9f%e8%a1%8c%ef%bc%88powershell%ef%bc%89\/","title":{"rendered":"\u3010\u62e1\u5f35\u6a5f\u80fd\u3011 \u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\uff08PowerShell\uff09"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u6a5f\u80fd\u6982\u8981<\/h3>\n\n\n\n<p>\u6307\u5b9a\u3057\u305fPS1\u30d5\u30a1\u30a4\u30eb\u3001\u3082\u3057\u304f\u306f\u30d5\u30a9\u30fc\u30e0\u5185\u306b\u8a18\u8ff0\u3057\u305fPowerShell\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>EzRobot\u5185\u306e\u5909\u6570\u3092\u201dvar_\u5909\u6570\u540d\u201d\u3068\u6307\u5b9a\u3067\u304dPowerShell\u5074\u306b\u53d7\u3051\u6e21\u3057\u3001PowerShell\u5185\u3067\u7de8\u96c6\u30fb\u64cd\u4f5c\u3092\u884c\u3046\u4e8b\u304c\u53ef\u80fd\u3002\u5909\u6570\u306fPowerShell\u5b9f\u884c\u5b8c\u4e86\u5f8c\u3001EzRobot\u5074\u306b\u5909\u6570\u5024\u304c\u53d7\u3051\u6e21\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f5c\u696d\u5bfe\u8c61\u753b\u9762<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/ezrobot.biz\/knowledge\/wp-content\/uploads\/2022\/08\/image-88.png\" alt=\"\" class=\"wp-image-1086\" width=\"333\" height=\"323\" srcset=\"https:\/\/ezrobot.biz\/knowledge\/wp-content\/uploads\/2022\/08\/image-88.png 651w, https:\/\/ezrobot.biz\/knowledge\/wp-content\/uploads\/2022\/08\/image-88-300x291.png 300w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u9805\u76ee\u8aac\u660e<\/h3>\n\n\n\n<p>\u30fb<strong>\u300c\u5b9f\u884c\u5bfe\u8c61\u300d<\/strong><strong><\/strong><\/p>\n\n\n\n<p>\u300cps1\u30d5\u30a1\u30a4\u30eb\u300d\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u306f\u3001\u9805\u76ee\u300c\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u300d\u3067\u6307\u5b9a\u3057\u305fps1\u30d5\u30a1\u30a4\u30eb\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u300c\u30d5\u30a9\u30fc\u30e0\u5185\u306e\u8a18\u8ff0\u300d\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u306f\u3001\u9805\u76ee\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u3067\u8a18\u8ff0\u3057\u305fPowerShell\u306e\u5185\u5bb9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fb<strong>\u300c\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u300d<\/strong><strong><\/strong><\/p>\n\n\n\n<p>\u5b9f\u884c\u3059\u308bps1\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>EzRobot\u306e\u5909\u6570\u306fps1\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u201d$var_\u5909\u6570\u540d\u201d\u3068\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fb<strong>\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d<\/strong><strong><\/strong><\/p>\n\n\n\n<p>\u5b9f\u884c\u3059\u308bPowerShell\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>EzRobot\u306e\u5909\u6570\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u201d$var_\u5909\u6570\u540d\u201d\u3068\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6ce8\u610f\u4e8b\u9805<\/h3>\n\n\n\n<ul><li><strong>PowerShell\u306e\u5b9f\u884c\u5b8c\u4e86\u307e\u3067\u3001EzRobot\u306f\u6b21\u306e\u51e6\u7406\u306b\u3046\u3064\u3089\u306a\u3044\uff08\u540c\u671f\u5b9f\u884c\uff09\u3002<\/strong><br><\/li><li><strong>PowerShell\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306f\u3001\u57fa\u672c\u6a5f\u80fd\u300cTry\uff5eCatch\u300d\u3067\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002<\/strong><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528\u4f8b<\/h3>\n\n\n\n<ul><li><strong>EzRobot<\/strong><strong>\u306e\u5909\u6570\u3092PowerShell<\/strong><strong>\u306b\u53d7\u3051\u6e21\u3057\u3001PowerShell<\/strong><strong>\u4e0a\u3067\u5909\u6570\u306e\u5024\u3092\u52a0\u5de5\u3057\u307e\u3059\u3002<\/strong><\/li><\/ul>\n\n\n\n<p>\u4f8b\uff09\u5909\u6570\u306b\u521d\u671f\u5024\u304cNULL\u306e\u201dtest\u201d\u3092\u767b\u9332\u3057\u3001\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u306b\u4ee5\u4e0b\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$var_test = \u201c\u30c6\u30b9\u30c8\u201d&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5b9f\u884c\u5f8c\u3001NULL\u3060\u3063\u305f\u521d\u671f\u5024\u304c\u201c\u30c6\u30b9\u30c8\u201d\u306b\u5024\u304c\u7f6e\u304d\u63db\u308f\u308b\u3002<\/p>\n\n\n\n<ul><li><strong>PowerShell<\/strong><strong>\u304b\u3089.Net Framework<\/strong><strong>\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/strong><\/li><\/ul>\n\n\n\n<p>PowerShell\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3042\u308b\u3068\u5171\u306b\u3001 .Net Framework\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3067\u304d\u308b\u3068\u3044\u3046\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306f.net\u306eMath\u30af\u30e9\u30b9\uff08<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/api\/system.math?view=net-5.0\">https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/api\/system.math?view=net-5.0<\/a>\uff09\u3092\u4f7f\u7528\u3057\u305f\u4f8b<\/p>\n\n\n\n<p>\u4f8b\uff09\u5186\u5468\u7387\u3092\u6c42\u3081\u308b\u3002\u5909\u6570\u306b\u521d\u671f\u5024\u304cNULL\u306e\u201dtest\u201d\u3092\u767b\u9332\u3057\u3001\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u306b\u4ee5\u4e0b\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>$var_test = [Math]::PI<\/p>\n\n\n\n<p>\u5b9f\u884c\u5f8c\u3001NULL\u3060\u3063\u305f\u521d\u671f\u5024\u306b\u5186\u5468\u7387\u304c\u201c\u30c6\u30b9\u30c8\u201d\u306b\u5186\u5468\u7387\uff083.14159\uff65\uff65\uff65\uff09\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a5f\u80fd\u6982\u8981 \u6307\u5b9a\u3057\u305fPS1\u30d5\u30a1\u30a4\u30eb\u3001\u3082\u3057\u304f\u306f\u30d5\u30a9\u30fc\u30e0\u5185\u306b\u8a18\u8ff0\u3057\u305fPowerShell\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 EzRobot\u5185\u306e\u5909\u6570\u3092\u201dvar_\u5909\u6570\u540d\u201d\u3068\u6307\u5b9a\u3067\u304dPowerShell\u5074\u306b\u53d7\u3051\u6e21\u3057\u3001PowerShell\u5185\u3067\u7de8\u96c6\u30fb\u64cd\u4f5c\u3092 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_mi_skip_tracking":false},"lsvr_kba_cat":[187],"lsvr_kba_tag":[436,433],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba\/1085"}],"collection":[{"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":1,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba\/1085\/revisions"}],"predecessor-version":[{"id":1087,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba\/1085\/revisions\/1087"}],"wp:attachment":[{"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba_cat?post=1085"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/ezrobot.biz\/knowledge\/wp-json\/wp\/v2\/lsvr_kba_tag?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}