我已经安装了Windows服务器备份功能,但是当尝试执行我搞错了add-pssnapin : The Windows PowerShell snap-in 'windows.serverbackup' is not installedAt line:1 char:1
+ add-pssnapin wind
但是,当我尝试给"get-pssnapin -registered“时,它没有列出ADFS服务器。有没有人可以帮我在powershell上执行以下命令:Get-ADFSRelyingPartyTrust –identifieradd-pssnapin : No snap-ins have been registered for Windows PowerShell version 4.At line:1 char:1
+ add-pssnapi
在我的个人资料(Microsoft.PowerShell_profile.ps1)中,我添加了对我们创建的各种管理单元的引用:# Profile for Joe BlowAdd-PSSnapInCompanySnapinAdd-PSSnapin SqlServerCmdletSnaps -ErrorAction SilentlyContinueinternalApplication) Add-PSSnapIn CompanySnap