tag:blogger.com,1999:blog-546036873798832453.post8943395369483516122..comments2023-10-09T06:28:49.766-07:00Comments on PowerShell Scripts Blog: Get-FirewallStatus.ps1Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-546036873798832453.post-65355141732795853732010-04-10T09:28:43.639-07:002010-04-10T09:28:43.639-07:00The first error is a problem with DCOM at your end...The first error is a problem with DCOM at your end - not sure of the cause. Second error looks like a typo and is now fixed.<br /><br />Ping me off line if the DCOM issue persists.Thomas Leehttps://www.blogger.com/profile/05591926562143348089noreply@blogger.comtag:blogger.com,1999:blog-546036873798832453.post-3096759390970035222010-04-10T08:46:12.649-07:002010-04-10T08:46:12.649-07:00Creating an instance of the COM component with CLS...Creating an instance of the COM component with CLSID {304CE942-6E39-40D8-943A-B913C40C9CD4} from the IClassFactory failed due to the following error: 800706d9.<br />At :line:29 char:19<br />+ $fwMgr = New-Object <<<< -com HNetCfg.FwMgr <br /><br />The term 'profile.FirewallEnabled' is not recognized as the name of a cmdlet, function, script file, or operable progra<br />m. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<br />At C:\Users\administrator.INNERVATION\Desktop\Get-FirewallStatus.ps1:36 char:29<br />+ {profile.FirewallEnabled <<<< = $TRUE}<br /> + CategoryInfo : ObjectNotFound: (profile.FirewallEnabled:String) [], CommandNotFoundException<br /> + FullyQualifiedErrorId : CommandNotFoundExceptionPat Richard, MCSE MVPhttps://www.blogger.com/profile/02662722459907501977noreply@blogger.com