PS C:\> Get-WmiObject -Class win32_OperatingSystem -ComputerName <>
SystemDirectory : C:\Windows\system32
Organization : Org name
BuildNumber : 7601
RegisteredUser : Org Name
SerialNumber : XXXXX-XXX-XXXXXXX-XXXXX
Version : 6.1.76PS
C:\> $PSVersionTable
Name Value
---- -----
CLRVersion 2.0.50727.5485
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.12.1
#####List available module########
> Get-Module -ListAvailable
ModuleType Name ExportedCommands
---------- ---- ----------------
Manifest AppLocker {}
Manifest BitsTransfer {}
Manifest PSDiagnostics {}
Manifest TroubleshootingPack {}
######Import AD Module#######
import-module activedirectory
backtick `
No comments:
Post a Comment