check-windows-system-files.ps1 Checks Windows system files (needs admin rights). More » enable-crash-dumps.ps1 Enables the writing of crash dumps. More » hibernate.ps1 Hibernates the local computer immedi
Folders and files Latest commit Cannot retrieve latest commit at this time. History8 Commits LICENSE README.md adquery.ps1 findstuff.ps1 Repository files navigation README BSD-3-Clause license powerspells Small collection of powershell scripts useful during lateral movement Find-InterestingFiles...
. C:\Demo\Get-MrPSVersion.ps1 If part of the path is stored in a variable, you can combine it with the rest of the path. There's no need to use string concatenation to do this. PowerShell Copy $Path = 'C:\' . $Path\Get-MrPSVersion.ps1 Now, if you check the Function ...
x64版PowerShell的配置文件位于%windir%\syswow64\WindowsPowerShell\v1.0\下。 PowerSploit is a collection of Microsoft PowerShell modules that can be used to aid penetration testers during all phases of an assessment. PowerSploit is comprised of the following modules and scripts: CodeExecution Execute...
去对应的文件夹找一下这个文件(Microsoft.PowerShell_profile.ps1)。如果你没有这个文件,就新建一个,文件里面编写如下内容: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 Import-Module oh-my-posh Set-PoshPrompt agnoster 这里的agnoster是刚刚Get-PoshThemes主题列表里的第一个。因为我们还没有装好字体,现...
Invoke-ScriptAnalyzer evaluates scripts or module files (.ps1, .psm1, and .psd1 files) based on a collection of best practice rules and returns objects that represent rule violations. It also includes special rules to analyze DSC resources. Invoke-ScriptAnalyzer comes with a set of built-in ...
"xml.fileAssociations": [{"systemId":"https://raw.githubusercontent.com/PowerShell/PowerShell/master/src/Schemas/Format.xsd","pattern":"**/*.Format.ps1xml"},{"systemId":"https://raw.githubusercontent.com/PowerShell/PowerShell/master/src/Schemas/Types.xsd","pattern":"**/*.Types.ps1xml...
ps-cassandra-autoscale.ps1Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Code Blame 65 lines (59 loc) · 2.72 KB Raw # Reference: Az.CosmosDB | https://docs.microsoft.com/powershell/module/az.cosmosdb # --- # Purpose # Create Cosmos...
Breadcrumbs azure-docs-powershell-samples /cosmosdb /cassandra / ps-cassandra-lock.ps1Top File metadata and controls Code Blame 79 lines (70 loc) · 2.65 KB Raw # References: # Az.CosmosDB | https://docs.microsoft.com/powershell/module/az.cosmosdb # Az.Resources | https://docs.microsof...
'café' | pwsh -File ./hexdump.ps1 Output Copy Label: Byte[] (System.Byte[]) <28873E25> Offset Bytes Ascii 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F --- --- --- 0000000000000000 63 61 66 C3 A9 0D 0A café�� The following example shows ho...