netsh wlan set tracing mode=yes
netsh wlan set tracing mode=noOnce a trace has been completed, a report is compiled at C:\windows\tracing\wireless and viewable in the Windows performance monitor.
| function New-DomainSignedCertificate { | |
| [CmdletBinding()] | |
| param( | |
| [parameter(Mandatory=$true)] | |
| [string] | |
| $Hostname, | |
| [parameter(Mandatory=$true)] | |
| [string] | |
| $Organization, |
| #!/bin/bash | |
| request_body=$(cat <<EOF | |
| { | |
| "roomId" : "{{roomid}}", | |
| "markdown" : "$*" | |
| } | |
| EOF | |
| ) |
| Function Invoke-ElevatedCommand { | |
| <# | |
| .DESCRIPTION | |
| Invokes the provided script block in a new elevated (Administrator) powershell process, | |
| while retaining access to the pipeline (pipe in and out). Please note, "Write-Host" output | |
| will be LOST - only the object pipeline and errors are handled. In general, prefer | |
| "Write-Output" over "Write-Host" unless UI output is the only possible use of the information. | |
| Also see Community Extensions "Invoke-Elevated"/"su" | |
| .EXAMPLE |
| # connect to NetSight via SOAP in Powershell | |
| $cred = Get-Credential | |
| # disable https certificate checking when using self signed cert | |
| # [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} | |
| $ws = New-WebServiceProxy -uri "https://HOSTNAME:8443/axis/services/NetSightDeviceWebService?wsdl" -Credential $cred | |
| $ws | Get-Member |
| <NotepadPlus> | |
| <UserLang name="ExtremeXOS" ext="xsf" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
| <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments">03 04 00# 01 02</Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |