Help.ps1
|
<# WPF Suggestions
#> <# PowerShell Suggestions #> <# Functions Authenticating functions: If functions cant be executed remotley using Kerberos, then use CredSSP Adjust functions: Create each function to work cross-platform. NOTICE: WPF WONT WORK CROSS PLATFORM! Rename functions: Create naming convention for quick access on WPF. Coding functions: Cretae the code using abbreviated commands #> <# Modules Azure Active Directory (AD) PowerShellGet DSC (Desired State Configuration) NetTCPIP NetSecurity Nessus Hyper-V VMWare Exchange Online Management SharePoint Online Management MSOnline UpdateServices Veeam Get-NetView #> <# Features Uses WSM, enabled by default on Win Servers, run once on each machine to enable PowerShell remoting. Enable-PSRemoting -SkipNetworkProfileCheck -Force Disable-PSRemoting -Force #> <# Categories + Naming Conventions Security AD Performance Network Hardware Software Data Backup & Recovery Email & Collaboration Mobile Devices Cloud Services Virtualization VoIP & Telephony Database Web Development User Access & Permissions #> <# Cmdlets Get-TroubleshootingPack Get-Verb Get-WindowsReservedStorageState Get-VolumeCorruptionCount -DriveLetter C Get-SystemDriver Get-ProvisioningPackage Get-PrinterDriver Get-NetIPv4Protocol Get-NetIPConfiguration Get-NetAdapterAdvancedProperty Get-NetAdapterHardwareInfo Get-Alias Get-FileHash Write-Error Get-Clipboard Get-DOConfig Get-DscConfigurationStatus Get-FileShare Get-History Get-Help Get-Location Get-ChildItem Set-Veriable New-Item Remove-Item Get-Content Set-Content Copy-Item Rename-Item Invoke-Command Test-Path Out-File #> <# Auto Variables $Host $Error $PSItem $PWD $PID $PSHome #> <# Useful Cim Commands: Check System Name, Owner, Domain, Total Mem, Model, Manufacturer Get-CimInstance -ClassName CIM_ComputerSystem Max Clock Speed Get-CimInstance -ClassName CIM_Processor Sys Dir, Org, Build, User, Serial, Version Get-CimInstance -ClassName CIM_OperatingSystem DeviceID, VolumeName, Size, FreeSpace Get-CimInstance -ClassName CIM_LogicalDisk Manufacturer, PartNo., SerialNo., Tag, Form, Capacity, Speed, Voltage, Get-CimInstance -ClassName CIM_PhysicalMemory DeviceID, Name, Type Get-CimInstance -ClassName CIM_NetworkAdapter #> <# Useful Win32 Commands: Running Processes Get-CimInstance -ClassName Win32_Process Running Services Get-CimInstance -ClassName Win32_Service Installed Software Products Get-CimInstance -ClassName Win32_Product BIOS Details Get-CimInstance -ClassName Win32_BIOS Physical Drive Details Get-CimInstance -ClassName Win32_DiskDrive Network Config Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration Startup Commands Get-CimInstance -ClassName Win32_StartupCommand GPU Details Get-CimInstance -ClassName Win32_VideoController Sound Details Get-CimInstance -ClassName Win32_SoundDevice User Accounts Get-CimInstance -ClassName Win32_UserAccount User Groups Get-CimInstance -ClassName Win32_Group #> <# Parsing CSV data structures Use PSCustomObject to store results in a variable Use delimiter to remove specific charactors like commas Use header parameter to change current header names #> |