Reply To: Different domain
My domain is a.local And I try connect to remote. Local I put in the cred remote. Local\administrator No trusted domains
View ArticleReply To: Different domain
Hmm, ok. Aside from user authentication, you may run into another problem here. WinRM usually requires the remote computer to also be authenticated, and it uses Kerberos to accomplish this. Without...
View ArticleReply To: Createing an IIS WebAppPool, properties do not set
So, my first suspect is usually permissions, since the LCM runs as SYSTEM. Have you looked at that?
View ArticleReply To: Change a web.config connectionstring error
I'd be interested in knowing what the spam issues were, if you're able to share. Apart from opt-in notifications from these forums, the site doesn't send any email.
View ArticleReply To: Change a web.config connectionstring error
When I asked the infrastructure guys about it they said it was just how scansafe categorized powershell.org. I was able to get to it in the morning when I first asked this question. Then by that...
View ArticleReply To: Most Efficient Way to Present System Uptime?
New-TimeSpan -Seconds (Get-WmiObject Win32_PerfFormattedData_PerfOS_System).SystemUptime | Format-Table Days,Hours,Minutes
View ArticleReply To: Most Efficient Way to Present System Uptime?
I'm having a great "time" with this! Thanks guys. -Tim
View ArticleReply To: Most Efficient Way to Present System Uptime?
([datetime]::Now – (New-TimeSpan -Seconds (Get-WmiObject Win32_PerfFormattedData_PerfOS_System).SystemUptime)) # Displays the date and time of day the computer was started
View ArticleReply To: Most Efficient Way to Present System Uptime?
Get-EventLog -LogName system | Where-Object { $_.eventID -eq 6005 -OR $_.eventID -eq 6006 -OR $_.eventID -eq 6008 } # Method using the event log instead
View ArticleReply To: Most Efficient Way to Present System Uptime?
careful it looks like the forums injects a Unicode character in the 2nd one I posted where there should be an ASCII dash ( – )
View ArticleCannot create pull server across domains
Hello, I had built a DSC pull server on a local VM, and am now looking to build it out in our shared lab environment. However, I'm not able to execute the Start-DSCConfiguration command. I have tried...
View ArticleGet value from higher pipe level
I'm getting mobile device stats from Exchange against each box, but get-mobiledevicestatistics unfortunately doesn't return a friendly name of the box it's retrieving — the closest thing is the...
View ArticleReply To: Get value from higher pipe level
Try a calculated expression: $UserList | foreach { Get-MobileDeviceStatistics -Mailbox $_.alias | Select DeviceModel, LastSuccessSync, @{Label="Name";Expression={$_.Name}}} | FL Name, DeviceModel,...
View ArticleCombining Chef and DSC
This sounds like an interested talk for those interested in combining Chef and DSC… Steven Murawski In case anyone is interested (and feel free to forward to any you think might be), I'm doing a talk...
View ArticleReply To: Cannot create pull server across domains
I assume that you are you running Start-DSCConfiguration from the VM you are trying to create the Pull Server on? Whether you are or not, you might try killing any WMI processes ( Get-Process wmip* |...
View ArticleReply To: Cannot create pull server across domains
No, I was executing Start-Configuration from my workstation. Is this only supported to run on the server destined to be the pull server?
View ArticleReply To: Cannot create pull server across domains
Nope, not at all. I built my Pull Server from my Windows 8.1 Workstation, I was just asking. I would seriously try to kill all the WMI Processes and try it again. I have seen lots of weird things...
View ArticleReply To: Get value from higher pipe level
No error, but no values, either; "Name" is blank. Technically that's trying to call "Name" from Get-MobileDeviceStatistics, yes? And there's no property named that on that command. I need to somehow...
View ArticleReply To: Get value from higher pipe level
What do you know, it worked! Here's my modified code, in case people would like to see. $UserList = Get-CASMailbox -Filter {hasactivesyncdevicepartnership -eq $true -and -not displayname -like...
View ArticleReply To: Issue running Exchange Command remotely.
Hello Braven36, You're experiencing a double hop problem. You'll need to read up on how to configure Kerberos delegation for the computer account of the first remote server....
View Article