並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 19 件 / 19件

新着順 人気順

powershell if not contains arrayの検索結果1 - 19 件 / 19件

  • とほほのPowerShell入門 - とほほのWWW入門

    ブレークポイントを設定してスクリプトをデバッグすることもできます。デバッガを使用するにはスクリプトをファイルとして保存し、下記の様にポリシー変更する必要があります。 Set-ExecutionPolicy -Scope CurrentUser ExecutionPolicy: RemoteSigned キーワード 言語としては下記のキーワードが定義されています。 変数 変数($xxx) 変数は $変数名 で表します。 $Name = "Yamada" Write-Output "My name is $Name." 変数の値を削除するには Clear-Variable を使用するか、値 $null を設定します。変数を削除するには Remove-Variable または Remove-Item を使用します。 Clear-Variable -Name a # 値をクリア $a = $nul

    • March 2025 (version 1.99)

      Update 1.99.1: The update addresses these security issues. Update 1.99.2: The update addresses these issues. Update 1.99.3: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the March 2025 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highligh

        March 2025 (version 1.99)
      • Performance Improvements in .NET 7 - .NET Blog

        No trial. No credit card required. Just your GitHub account. A year ago, I published Performance Improvements in .NET 6, following on the heels of similar posts for .NET 5, .NET Core 3.0, .NET Core 2.1, and .NET Core 2.0. I enjoy writing these posts and love reading developers’ responses to them. One comment in particular last year resonated with me. The commenter cited the Die Hard movie quote, “

          Performance Improvements in .NET 7 - .NET Blog
        • GitHub Notification Emails Hijacked to Send Malware

          As an open source developer I frequently get emails from GitHub, most of these emails are notifications sent on behalf of GitHub users to let me know that somebody has interacted with something and requires my attention. Perhaps somebody has created a new issue on one of my repos, or replied to a comment I left, or opened a pull request, or perhaps the user is trying to impersonate GitHub security

            GitHub Notification Emails Hijacked to Send Malware
          • Defending new vectors: Threat actors attempt SQL Server to cloud lateral movement | Microsoft Security Blog

            Microsoft security researchers recently identified a campaign where attackers attempted to move laterally to a cloud environment through a SQL Server instance. This attack technique demonstrates an approach we’ve seen in other cloud services such as VMs and Kubernetes cluster, but not in SQL Server. The attackers initially exploited a SQL injection vulnerability in an application within the target

              Defending new vectors: Threat actors attempt SQL Server to cloud lateral movement | Microsoft Security Blog
            • PowerShell: the object-oriented shell you didn’t know you needed

              PowerShell is an interactive shell and scripting language from Microsoft. It’s object-oriented — and that’s not just a buzzword, that’s a big difference to how the standard Unix shells work. And it is actually usable as an interactive shell. Getting Started PowerShell is so nice, Microsoft made it twice. Specifically, there concurrently exist two products named PowerShell: Windows PowerShell (5.1)

              • Cisco Talos shares insights related to recent cyber attack on Cisco

                Cisco Talos shares insights related to recent cyber attack on Cisco Executive summaryOn May 24, 2022, Cisco became aware of a potential compromise. Since that point, Cisco Security Incident Response (CSIRT) and Cisco Talos have been working to remediate.During the investigation, it was determined that a Cisco employee’s credentials were compromised after an attacker gained control of a personal Go

                  Cisco Talos shares insights related to recent cyber attack on Cisco
                • Deno 1.6 Release Notes | Deno

                  Today we are releasing Deno 1.6.0. This release contains some major features, and many bug fixes. Here are some highlights: Build self contained, standalone binaries: deno compile can build your Deno projects into completely standalone executables Built-in Deno Language Server: fully integrated LSP for code editors Experimental support for Mac Arm64: release binaries that run natively on Apple’s n

                    Deno 1.6 Release Notes | Deno
                  • Windows RE に更新プログラムを追加する

                    Windows RE イメージに更新プログラム (LCU または安全な OS 動的更新プログラム (DU)) を適用できます。 Windows RE イメージを更新する手順は、オフライン イメージを更新するか、実行中のシステムのイメージを更新するかによって異なります。 LCU を追加する場合: 更新プログラムを追加する前だけでなく、更新プログラムを追加した後も、WinRE のバージョン番号を調べて、更新プログラムが正しく適用されたことを確認します。 DU パッケージを追加する場合: パッケージを追加した後、イメージ内のパッケージの一覧を調べて、パッケージがイメージに正常に追加されたことを確認します。 オフライン イメージを更新する 次の手順では、更新されたパッケージをオフラインの Windows RE イメージに追加する方法について説明します。 Windows イメージをマウントする Wi

                      Windows RE に更新プログラムを追加する
                    • https://docs.microsoft.com/ja-jp/powershell/scripting/learn/deep-dives/everything-about-arrays

                      配列とは まず、配列とは何か、そしてほとんどのプログラミング言語で使用される方法についての基本的な技術的な説明から始めます。その後、PowerShell がそれらを使用する他の方法に移行します。 配列は、複数の項目のコレクションとして機能するデータ構造です。 配列を反復処理したり、インデックスを使用して個々の項目にアクセスしたりできます。 配列は、各値がもう一方の隣に格納されるメモリの順次チャンクとして作成されます。 私たちは行くにつれて、これらの詳細のそれぞれについて触れます。 基本的な使用方法 配列は PowerShell の基本的な機能であるため、PowerShell で操作するための簡単な構文があります。 配列を作成する 空の配列は、次を使用して作成できます。 @() PS> $data = @() PS> $data.Count 0 配列を作成し、 @() かっこ内に配置するだけ

                        https://docs.microsoft.com/ja-jp/powershell/scripting/learn/deep-dives/everything-about-arrays
                      • February 2025 (version 1.98)

                        The feature is still under refinement, yet ready to use. Feedback is welcome. View the preview features (@tag:preview). Copilot Edits Agent mode improvements (Experimental) Last month, we introduced agent mode for Copilot Edits in VS Code Insiders. In agent mode, Copilot can automatically search your workspace for relevant context, edit files, check them for errors, and run terminal commands (with

                          February 2025 (version 1.98)
                        • Julia 1.6: what has changed since Julia 1.0?

                          Julia 1.0 came out well over 2 years ago. Since then a lot has changed and a lot hasn’t. Julia 1.0 was a commitment to no breaking changes, but that is not to say no new features have been added to the language. Julia 1.6 is a huge release and it is coming out relatively soon. RC-1 was released recently. I suspect we have at least a few more weeks before the final release. The Julia Core team take

                          • April 2021 (version 1.56)

                            Join a VS Code Dev Days event near you to learn about AI-assisted development in VS Code. Update 1.56.1: The update addresses these security issues. Update 1.56.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the April 2021 release of Visual Studio Code. The VS Code team has been busy this month working

                              April 2021 (version 1.56)
                            • cuneicode, and the Future of Text in C

                              Following up from the last post, there is a lot more we need to cover. This was intended to be the post where we talk exclusively about benchmarks and numbers. But, I have unfortunately been perfectly taunted and status-locked, like a monster whose “aggro” was pulled by a tank. The reason, of course, is due to a few folks taking issue with my outright dismissal of the C and C++ APIs (and not showi

                                cuneicode, and the Future of Text in C
                              • Managing domain membership of dynamic fleet of EC2 instances | Amazon Web Services

                                AWS Compute Blog Managing domain membership of dynamic fleet of EC2 instances This post is written by Alex Zarenin, Senior AWS Solution Architect, Microsoft Tech. Updated: February 10, 2021 1.   Introduction For most companies, a move of Microsoft workloads to AWS starts with “lift and shift” where existing workloads are moved from the on-premises data centers to the cloud. These workloads may inc

                                  Managing domain membership of dynamic fleet of EC2 instances | Amazon Web Services
                                • How A Large-Scale Russian Botnet Operation Stays Under the Radar

                                  Author: David Brunsdon Not too long ago Infoblox Threat Intel discovered a botnet delivering malware via spam campaigns using spoofed sender domains. This is different from the email spoofing that we recently reported on Muddling Malspam: The Use of Spoofed Domains in Malicious Spam, in that these take advantage of misconfigured DNS records to pass email protection techniques. Botnets, which are b

                                    How A Large-Scale Russian Botnet Operation Stays Under the Radar
                                  • Executing shell commands from Node.js

                                    Warning: This blog post is outdated. Instead, read chapter “Running shell commands in child processes” in “Shell scripting with Node.js”. In this blog post, we’ll explore how we can execute shell commands from Node.js, via module 'node:child_process'. Overview of this blog post  # Module 'node:child_process' has a function for executing shell commands (in spawned child processes) that comes in two

                                    • about_Preference_Variables - PowerShell

                                      Working with preference variables This document describes each of the preference variables. To display the current value of a specific preference variable, type the variable's name. For example, the following command displays the $ConfirmPreference variable's value. $ConfirmPreference High To change a variable's value, use an assignment statement. For example, the following statement changes the $

                                        about_Preference_Variables - PowerShell
                                      • Getting Started with Windows Terminal - Windows Command Line

                                        Installation Windows Terminal is available in two different builds: Windows Terminal and Windows Terminal Preview. Both builds are available for download from the Microsoft Store and from the GitHub releases page. Requirements In order to run either Windows Terminal build, your machine must be on Windows 10 1903 or later. Windows Terminal Preview Windows Terminal Preview is the build where new fea

                                          Getting Started with Windows Terminal - Windows Command Line
                                        1