Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Nutanix
- #open Powershell x86
- #%SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe
- #Add Nutanix Snappin
- Add-PsSnapin NutanixCmdletsPSSnapin
- Connect-NutanixCluster -server $objNutanixBlockIP -AcceptInvalidSSLCerts
- # SCCM
- cd (Drive of Install)
- cd "(Drive of Install)\Program Files\Microsoft Configuration Manager\AdminConsole\bin"
- import-module .\ConfigurationManager.psd1
- cd (Name of Site):
- Example
- cd c:\
- cd "c:\Program Files\Microsoft Configuration Manager\AdminConsole\bin"
- import-module .\ConfigurationManager.psd1
- cd KJL:
- # DNS
- import-module *dns*
- $objDNSRecord = get-dnsrecord -recordtype A | select name,RecordData
- # AD
- import-module *AD*
- get-user
- get-computer
- # Server Manager
- #Server manager module
- Import-Module ServerManager
- #IIS module
- #& "$env:programfiles\IIS\PowerShellSnapin\iisConsole.psc1"
- Import-Module WebAdministration
- cd iis:\
Add Comment
Please, Sign In to add comment