<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>neko3cs</author_name>
  <author_url>https://blog.hatena.ne.jp/neko3cs/</author_url>
  <blog_title>ねこさんのぶろぐ</blog_title>
  <blog_url>https://blog.neko3cs.net/</blog_url>
  <categories>
    <anon>PowerShell</anon>
    <anon>PowerShell Core</anon>
    <anon>WinRM</anon>
    <anon>備忘録</anon>
  </categories>
  <description>社内のテスト用サーバーを rm -rf / して吹き飛ばしました。 今回は社内ですみましたが、本番環境でやっていたらと思うと恐ろしいです。 同じミスを起こさない様にブログに記録しておこうと思います。 経緯 私はとある担当システムでパフォーマンスの分析のために毎月初営業日にインターネットに接続していない本番環境からパフォーマンスを図るためのデータを取得しています。 現在その作業がすべて手作業で毎回2時間くらいかかるため、PowerShellで自動化しようと考えました。 処理の仕組みとしては複数あるサーバーのうち、特定のサーバーから各サーバーへWinRMを用いてPowerShellでデータを採取し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.neko3cs.net%2Fentry%2Finvoke-command-rm-rf&quot; title=&quot;Invoke-Commandで rm -rf / した話 - ねこさんのぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-18 17:15:04</published>
  <title>Invoke-Commandで rm -rf / した話</title>
  <type>rich</type>
  <url>https://blog.neko3cs.net/entry/invoke-command-rm-rf</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
