tags: powershell windows
memo
Table of contents
show all command lines
Command instructions

Get properties and methods of an object

Display the objects and properties that the object $date has

For example, to get the year of this object, you can use .year

Powershell has become a skill that Windows operation and maintenance personnel have to master. His power can only be experienced before it can be used. Gossip is not much to say. Record the practical ...
New-Service https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-service?view=powershell-5.1 PS C:\Program Files\PowerShell\6.0.0-beta.6> New-Service -Name LISA_41...
Pipe refers to the output of the previous command as the input of the next command. Pipe up and down commands, connected by "|". What are the commonly used pipeline commands in powershell? L...
About NPS (Network Authentication Server) 1. NPS batch add client 2. Output NPS client information 3. This script solves the problem that Powershel command l requires administrator privileges to run, ...
Jenkins does not support the execution of PowerShell commands by default. Plug-ins are required to complete such tasks. This article will introduce the basic usage and common problems of the Jenkins P...
1、 ① Obtain all file information of the current directory through ls ② Sort the file information in descending order of Name through Sort -Descending ③ Format the sorted Name and Mode into Table for o...
need Multiple orders in the same time It is used to perform multiple commands on the CMD in WIN.&&Connect, but this does not work in PowerShell method 1 use -andConnect, such as Method 2 use;N...
1. New file The abbreviation is ni 2. Copy file Copy the file to the directory 3. Renate Abbreviated ren...
Clear screen Open the resource management folder of the current directory Get the full path of the current directory Create a new file Copy a file Move a file Check the port number is occupied. Find p...
PowerShell infiltration common order Set-ExecutionPolicy RemoteSigned // Enable execution policy Set-ExecutionPolicy Restricted // Turn off the execution policy Remote download file Command line execu...