|
|
| Topic |
 |
RE: Add Windows7 machine to domaiin $comp = get-wmiobject Win32_ComputerSystem ################ ################# # Joins to domain Function joindomain { param($domain ="yourdomain.coml",$dpass = "domainpasswrod", $duser = "yourdomain.com\Admin") $joinret = $comp.JoinDomai ... by pdirt in Using PowerShell v2.0 on 18 Nov 2009 12:55 PM
|
 |
RE: Add Windows7 machine to domaiin double post by pdirt in Using PowerShell v2.0 on 18 Nov 2009 12:56 PM
|
 |
RE: invoke-wmimethod Just to add a note:this function works when pointed at XPSP2 and windows 2008, just not win2kpro so far...weird. by pdirt in Using PowerShell v2.0 on 20 Nov 2007 12:37 PM
|
 |
invoke-wmimethod I am getting access deined when trying to use invoke-method createThis code works if I do not have to pass -cred ( meaning the account running on my local machine has local admin to the remote machine). But, the point of my script is to run all get ... by pdirt in Using PowerShell v2.0 on 19 Nov 2007 07:12 PM
|
|