powershell
basic
echo
references
profile
[!NOTE|label:references:]
running powershell script
[!NOTE|label:references:]
powershell 7
[!NOTE|label:references:]
for restriction
upgrade
system
check current user is admin

or
others
maximum path length limitation
or via modify regedit
list installed appx
or search via keywords
or
or exclude all
ms-
or show name and display name
install system apps
restricted strategy
check policy
modify policy
revert to previous policy
enable pxe on the distribution point
search
scan health and restore health
execute searching diagnostic
reinstall windows search
reinstall cortana
reinstall StartMenuExperienceHost
status
re-build ShellExperienceHost
cortana
install
remove the cache
remove
install ssh-agent
start service
uninstall
deploy windows 10 in a test lab using configuration manager
prerequisites
microsoft configuration manager
download mdop and install dart
prepare for zero touch installation
create a boot image for configuration manager
create a windows 10 reference image
add a windows 10 os image
create a task sequence
finalize the os configuration
deploy windows 10 using pxe and configuration manager
deploy PC4
open configuration management property
replace a client with windows 10 using configuration manager
IP
get network interface (NIC)
get ip route
history
[!NOTE|label:references:]
PowerShell Command History Forensics
Console History File:
$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txtPSReadLine history File:
(Get-PSReadlineOption).HistorySavePath
info
backup
search in history
rename
remove
clear history
add history
modules
[!NOTE|label:references:]
list installed modules
[!NOTE|label:references:]
get package source

[!NOTE|label:references:]
keys:
F2: list all candidates
install
configure
[!TIP|label:references:]
setup candidate color
get info
scripts
[!NOTE|label:references:]
environment variable
timezone
[!NOTE|label:references:]
get timezone
modify timezone
Publish Root CA Data in to Active Directory
Setup Issuing CA
Issue Certificate for Issuing CA
go to Server Manager > Tools > Certificate Authority > Pending Certificates and the right click on the certificate > All Tasks > Issue
export
Post Configuration Tasks
run
PKIView.mscto verify the configuration.
Last updated
